diff options
author | quou <quou@disroot.org> | 2023-05-04 14:10:41 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2023-05-04 14:10:50 +1000 |
commit | d61dcdcc384249ec7ea60c9cc18aab9df1f80577 (patch) | |
tree | 563e985e6a1f480461177f2c341d70ce5dd1498d /player.h | |
parent | c4ac81cffcf925963acb0c02584ab22626427a73 (diff) |
Add shooting.
Diffstat (limited to 'player.h')
-rw-r--r-- | player.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |