aboutsummaryrefslogtreecommitdiff
path: root/src/game_loop/gameplay.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game_loop/gameplay.h')
-rw-r--r--src/game_loop/gameplay.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game_loop/gameplay.h b/src/game_loop/gameplay.h
index 9d66c37..8adddb4 100644
--- a/src/game_loop/gameplay.h
+++ b/src/game_loop/gameplay.h
@@ -15,8 +15,9 @@ typedef enum {
hh_e_level_complete,
hh_e_game_over,
}hh_e_gameplay;
+
/** @brief resets all the levels the first condition */
-void hh_reset_levels();
+void hh_reset_levels(hh_entity* player);
/** @brief game loop function to handle the gameplay*/
void hh_gameplay(hh_g_all_levels* game, hh_e_game_state* hh_game_state);
/** @brief renders all the entities*/