Working on the Player UI

This commit is contained in:
2021-09-06 09:12:45 -07:00
parent ae16d5438b
commit 09b3bdb93c
22 changed files with 262 additions and 53 deletions

View File

@ -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;
}