Working on the Player UI
This commit is contained in:
1 parent
ae16d5438b
commit
09b3bdb93c
22 files changed
+262
-53
No files matched your search
+4
-1
@@ -20,7 +20,10 @@ void engineUpdateStart(engine_t *engine, game_t *game, float delta) {
|
||||
}
|
||||
|
||||
bool engineUpdateEnd(engine_t *engine, game_t *game) {
|
||||
if(inputIsPressed(&engine->input, INPUT_NULL)) return false;
|
||||
if(inputIsPressed(&engine->input, INPUT_NULL)) {
|
||||
printf("Game exit requested\n");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user