This repository has been archived on 2026-04-25. You can view files and clone it, but cannot push or open issues or pull requests.
Minesweeper/include/game/navbar.h

42 lines
581 B
C
Raw Normal View History

2024-05-08 12:50:29 -05:00
// Define once
#ifndef H_NAVBAR
#define H_NAVBAR
// Includes
/// Externals
#include <engine/externals.h>
/// Engine
#include <engine/engine.h>
/// Game
#include <game/tilemap.h>
// Classes
class Navbar{
private:
// Variables
Tilemap* tilemap;
SDL_Texture* texture;
bool didClick;
// Functions
void _drawBackground();
void _drawFlagCounter();
void _drawFace();
void _drawTime();
Vector2 _getNumber(int number);
public:
// Variables
// Constructor
Navbar(Tilemap* tilemap);
// Functions
void Update();
void Draw();
};
// End definition
#endif