[Added] Mouselogic, to navigate the menu with the mouse

This commit is contained in:
Ninjaws
2024-12-08 14:46:47 +01:00
parent 22ac2c732e
commit 83d1d622ee
11 changed files with 99 additions and 31 deletions
+9 -4
View File
@@ -15,6 +15,15 @@ class StateService : public Service<StateService>
{
private:
std::unique_ptr<Screen> currentScreen;
bool gameRunning = true;
/**
* One step of the gameloop
*/
void step();
void handleMusic();
public:
@@ -24,10 +33,6 @@ public:
* Start the game loop
*/
void startGame();
/**
* One step of the gameloop
*/
void step();
};
#endif