summaryrefslogtreecommitdiff
path: root/src/entity.h
diff options
context:
space:
mode:
authorBoredGuy <osome3717@gmail.com>2026-03-23 17:11:28 +0300
committerBoredGuy <osome3717@gmail.com>2026-03-23 17:11:28 +0300
commit7c438c2a0e25d22323b5def545f32e97eee689f0 (patch)
treea9e2cf29a967c88d022ea8e6c20a522a9c482610 /src/entity.h
parent6dbd16cd920b51bc24b60d0561bd707ff8862cc5 (diff)
Asset system
- Multiple entity updates
Diffstat (limited to 'src/entity.h')
-rw-r--r--src/entity.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/entity.h b/src/entity.h
index 4807a2b..1698536 100644
--- a/src/entity.h
+++ b/src/entity.h
@@ -58,6 +58,11 @@ struct entity {
struct animation animations[ENTITY_MAX_ANIMATIONS];
int current_animation;
enum draw_layer draw_layer;
+ bool flip;
+
+ //Player data
+ int player_state;
+ Vector2 start_position;
};
void update_entity(struct entity* entity, float dt);