[Added] Pause and Game Over screens

This commit is contained in:
Ninjaws
2024-12-11 23:20:10 +01:00
parent 7bdd8829b0
commit 770d3e3c71
10 changed files with 275 additions and 25 deletions
-4
View File
@@ -32,7 +32,6 @@ public:
* Start the game loop
*/
void startGame();
static void staticStep()
{
if (IsKeyPressed(KEY_ENTER) || IsMouseButtonPressed(MOUSE_BUTTON_LEFT))
@@ -45,16 +44,13 @@ public:
private:
std::unique_ptr<Screen> currentScreen;
bool gameRunning = true;
Vector2 screenSize;
/**
* One step of the gameloop
*/
void step();
void handleMusic();
};