aboutsummaryrefslogtreecommitdiff
path: root/src/game_loop/gameplay.h
diff options
context:
space:
mode:
authorNielsCoding <48092678+heavydemon21@users.noreply.github.com>2023-04-05 20:46:53 +0200
committerNielsCoding <48092678+heavydemon21@users.noreply.github.com>2023-04-05 20:46:53 +0200
commitdc5e246ff1e8d89e59acf70c149f180fb41dd584 (patch)
treede7f2c3849a4ab6889747531452b7963ecf59f8c /src/game_loop/gameplay.h
parent854a80001b9798d1454e4308e4efba96431e44d8 (diff)
enemy and ai, bullets and gameplay
ai needs finetuning
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*/