aboutsummaryrefslogtreecommitdiff
path: root/obj.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-10-01 18:59:53 +1000
committerquou <quou@disroot.org>2024-10-01 19:00:04 +1000
commita5f6618cd6a692eda3acd934b71355959b388518 (patch)
tree6f5d4813be49ccf9bab8740a14546e6ec3b6dd72 /obj.h
parent626a3850ebc4859cecb9b3a003c96b69c2fdf7f9 (diff)
the enemy can hurt the player now
Diffstat (limited to 'obj.h')
-rw-r--r--obj.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/obj.h b/obj.h
index 7cbb962..2b151b7 100644
--- a/obj.h
+++ b/obj.h
@@ -19,6 +19,7 @@ typedef struct {
int anim;
int grounded, headbutted, on_ramp, jumping;
int cooldown, slashing;
+ int inv, hp;
Face face;
Rect rect;
} Player;