Main Escape Function
This commit is contained in:
parent
02c4341c32
commit
d3a6dada59
6
main.c
6
main.c
@ -73,13 +73,17 @@ int main(int argc, char * args[]){
|
||||
printf("Unknow state was updated: %d\n", gameState);
|
||||
break;
|
||||
}
|
||||
// DrawText(renderer, "FICK DICH");
|
||||
SDL_RenderPresent(renderer);
|
||||
}
|
||||
QUIT();
|
||||
return 0;
|
||||
} /* main */
|
||||
|
||||
void GAME_Escape(){
|
||||
running = false;
|
||||
printf("GAME_Escape was called!\n");
|
||||
}
|
||||
|
||||
void GAME_ChangeState(GameState state){
|
||||
gameState = state;
|
||||
switch (gameState) {
|
||||
|
Loading…
Reference in New Issue
Block a user