1
0
Fork 0
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:
raf 2026-04-03 14:00:38 +03:00
commit 786fce3814
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
13 changed files with 105 additions and 102 deletions

View file

@ -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