summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h
index ebb5c09..001d467 100644
--- a/src/game.h
+++ b/src/game.h
@@ -7,6 +7,7 @@ typedef struct Game {
unsigned int uuid;
bool queue_next_scene;
int queue_restart_scene;
+ int player_dir;
Entity entities[MAX_ENTITIES];
} Game;
@@ -17,3 +18,4 @@ void game_draw(Game *this);
void game_restart_scene(Game *this);
Entity *game_create_entity(Game *this);
int game_entity_count(Game *this, unsigned int type);
+Entity *game_get_entity(Game *this, unsigned int type);