aboutsummaryrefslogtreecommitdiff
path: root/obj.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-09-30 22:28:50 +1000
committerquou <quou@disroot.org>2024-09-30 22:28:50 +1000
commitd2837633da48e3cc0530d718de5e0bbfcd4fcc34 (patch)
tree3cac6b4b49b93e199ed5b14e9438a0c026fc8b26 /obj.h
parentee655819d44307d974fb27e1fa04d079a3810d63 (diff)
enemy invulnerable frames
Diffstat (limited to 'obj.h')
-rw-r--r--obj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/obj.h b/obj.h
index 8824a2d..7cbb962 100644
--- a/obj.h
+++ b/obj.h
@@ -52,7 +52,7 @@ typedef struct {
int x, y, vx, vy;
int hp, frame, anim;
int grounded, headbutted, on_ramp;
- int state;
+ int state, inv;
Face face;
Rect rect;
} Enemy;