Support of IsKeyPressed that only trigger for the frame it is pressed on.
This commit is contained in:
@@ -10,12 +10,20 @@ struct World
|
||||
EntityManager* EntityManager;
|
||||
};
|
||||
|
||||
enum class GameMode
|
||||
{
|
||||
Play,
|
||||
Debug
|
||||
};
|
||||
|
||||
struct GameState
|
||||
{
|
||||
Juliet::Arena* TotalArena;
|
||||
|
||||
World* World;
|
||||
|
||||
GameMode Mode = GameMode::Play;
|
||||
|
||||
float TotalTime;
|
||||
int Score;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user