From d61dcdcc384249ec7ea60c9cc18aab9df1f80577 Mon Sep 17 00:00:00 2001 From: quou Date: Thu, 4 May 2023 14:10:41 +1000 Subject: Add shooting. --- player.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'player.h') diff --git a/player.h b/player.h index 8412bde..da1605e 100644 --- a/player.h +++ b/player.h @@ -6,6 +6,9 @@ struct World; typedef struct { int entity; int face; + int ldx, ldy; + int shoot_cooldown; + int shoot_countdown; } Player; void init_player(Player* player, struct World* world); -- cgit v1.2.3-54-g00ecf