aboutsummaryrefslogtreecommitdiff
path: root/src/game_loop/gameplay.h
diff options
context:
space:
mode:
authorUnavailableDev <ggwildplay@gmail.com>2023-04-05 20:50:07 +0200
committerUnavailableDev <ggwildplay@gmail.com>2023-04-05 20:50:07 +0200
commit0dd7be7230b3ccba9a930c01549d79d108d091c4 (patch)
tree62f42cbf597232ed1076bb539426df8ddcf2886e /src/game_loop/gameplay.h
parent06b9a5e3c252713c211d77b5643143276db209ba (diff)
parentdc5e246ff1e8d89e59acf70c149f180fb41dd584 (diff)
Merge branch 'dev' of https://github.com/heavydemon21/avans-arcade into dev
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*/