#ifndef player_h #define player_h struct World; typedef struct { int entity; int face; 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); void update_camera(Player* player, struct World* world); #endif