diff options
Diffstat (limited to 'src/game.h')
-rw-r--r-- | src/game.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |