Support of IsKeyPressed that only trigger for the frame it is pressed on.

This commit is contained in:
2026-08-09 11:23:56 -04:00
parent 681267f445
commit d52c77a017
16 changed files with 151 additions and 34 deletions
+8
View File
@@ -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;
};