diff options
author | NielsCoding <48092678+heavydemon21@users.noreply.github.com> | 2023-04-02 20:48:06 +0200 |
---|---|---|
committer | NielsCoding <48092678+heavydemon21@users.noreply.github.com> | 2023-04-02 20:48:06 +0200 |
commit | e987d23d915942ec4a3910b9cc2729f1b21361a9 (patch) | |
tree | c74b48322acb426a205d5cc9a31351c902dfbb65 /src/GameLoop/game_over.c | |
parent | 552dcc17db2b98287ba1b480c2e70759cd94d81f (diff) |
snake case/background
Diffstat (limited to 'src/GameLoop/game_over.c')
-rw-r--r-- | src/GameLoop/game_over.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/GameLoop/game_over.c b/src/GameLoop/game_over.c deleted file mode 100644 index 09e6858..0000000 --- a/src/GameLoop/game_over.c +++ /dev/null @@ -1,28 +0,0 @@ -#include "game_over.h" - - -void hh_game_over(hh_e_GameState* hh_game_state){ - static hh_e_game_over hh_e_states_game_over = hh_e_game_over_SHOW; - - switch (hh_e_states_game_over) - { - case hh_e_game_over_SHOW: - hh_clear_screen(); - hh_clear_sprite(); - // TODO: make function to show game over - hh_e_states_game_over = hh_e_game_over_Input; - break; - case hh_e_game_over_Input: - if(g_hh_controller_p1.button_primary){ - hh_e_states_game_over = hh_e_game_over_END; - } - break; - case hh_e_game_over_END: - hh_e_states_game_over = hh_e_game_over_SHOW; - *hh_game_state = hh_e_STATE_GameOver; - break; - default: - hh_e_states_game_over = hh_e_game_over_SHOW; - break; - } -} |