Support of IsKeyPressed that only trigger for the frame it is pressed on.
This commit is contained in:
1 parent
681267f445
commit
d52c77a017
16 files changed
+151
-34
No files matched your search
@@ -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