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);
|
printf("Unknow state was updated: %d\n", gameState);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// DrawText(renderer, "FICK DICH");
|
|
||||||
SDL_RenderPresent(renderer);
|
SDL_RenderPresent(renderer);
|
||||||
}
|
}
|
||||||
QUIT();
|
QUIT();
|
||||||
return 0;
|
return 0;
|
||||||
} /* main */
|
} /* main */
|
||||||
|
|
||||||
|
void GAME_Escape(){
|
||||||
|
running = false;
|
||||||
|
printf("GAME_Escape was called!\n");
|
||||||
|
}
|
||||||
|
|
||||||
void GAME_ChangeState(GameState state){
|
void GAME_ChangeState(GameState state){
|
||||||
gameState = state;
|
gameState = state;
|
||||||
switch (gameState) {
|
switch (gameState) {
|
||||||
|
Loading…
Reference in New Issue
Block a user