diff options
Diffstat (limited to 'player.h')
-rw-r--r-- | player.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -9,9 +9,11 @@ typedef struct { int ldx, ldy; int shoot_cooldown; int shoot_countdown; + int hp; } Player; void init_player(Player* player, struct World* world); void update_player(Player* player, struct World* world); +void player_take_damage(Player* player, int dmg); #endif |