aboutsummaryrefslogtreecommitdiff
path: root/player.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2023-05-04 14:10:41 +1000
committerquou <quou@disroot.org>2023-05-04 14:10:50 +1000
commitd61dcdcc384249ec7ea60c9cc18aab9df1f80577 (patch)
tree563e985e6a1f480461177f2c341d70ce5dd1498d /player.h
parentc4ac81cffcf925963acb0c02584ab22626427a73 (diff)
Add shooting.
Diffstat (limited to 'player.h')
-rw-r--r--player.h3
1 files changed, 3 insertions, 0 deletions
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);