forked from NotAShelf/rogged
various: consolidate game state into a GameState struct
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I9d8998707c02e64cf177a6eeb51e399e6a6a6964
This commit is contained in:
parent
d3798cc99f
commit
786fce3814
13 changed files with 105 additions and 102 deletions
|
|
@ -10,6 +10,6 @@ void enemy_spawn(Enemy enemies[], int *count, Map *map, Player *p, int floor);
|
|||
void enemy_update_all(Enemy enemies[], int count, Player *p, Map *map);
|
||||
|
||||
// Check if position has an enemy
|
||||
int is_enemy_at(Enemy *enemies, int count, int x, int y);
|
||||
int is_enemy_at(const Enemy *enemies, int count, int x, int y);
|
||||
|
||||
#endif // ENEMY_H
|
||||
#endif // ENEMY_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue