Working on the Player UI
This commit is contained in:
@ -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