aboutsummaryrefslogtreecommitdiff
path: root/include/player.h
diff options
context:
space:
mode:
authorLeander Scherer <leander@schererleander.de>2026-03-12 01:35:15 +0100
committerLeander Scherer <leander@schererleander.de>2026-03-12 01:35:15 +0100
commitaafdfa0734b7c5dcea9f0e914ef6c66852b9d3a7 (patch)
tree8e20b2282b445d70d4069ecf5a62aaa02c5b0f29 /include/player.h
parentae6ac413632b427e31a26020a94864669af1ba10 (diff)
chore: use globals
Diffstat (limited to 'include/player.h')
-rw-r--r--include/player.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/player.h b/include/player.h
index 99a3ce9..b26bc20 100644
--- a/include/player.h
+++ b/include/player.h
@@ -5,7 +5,7 @@
#include "map.h"
-typedef enum { PLAYER_IDLE, PLAYER_WALK, PLAYER_ATTACK } PlayerState;
+typedef enum { PLAYER_IDLE, PLAYER_WALK, PLAYER_ATTACK, PLAYER_DIE, PLAYER_FALL } PlayerState;
typedef struct {
int potions;