diff options
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; - } -} |