summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/game.h1
-rw-r--r--include/players.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/game.h b/include/game.h
index 944a831..ffab7b7 100644
--- a/include/game.h
+++ b/include/game.h
@@ -4,6 +4,7 @@
#include <projectbase/project_base.h>
#include "../include/protocol.h"
+#include "../include/game.h"
typedef enum t_game_state {
GAMESTATE_IDLE,
diff --git a/include/players.h b/include/players.h
index ea12a96..abe4a37 100644
--- a/include/players.h
+++ b/include/players.h
@@ -27,6 +27,7 @@ player players[10] = {0};
player* get_player_by_id(u32 id);
void draw_players_at_tile(platform_window* window, int x, int y);
void draw_bullets(platform_window* window);
+object check_if_player_collided_with_object(platform_window* window, player p);
float get_player_size(platform_window* window);
#endif \ No newline at end of file