#ifndef ENTITY_H_ #define ENTITY_H_ #include #define enum entity_type { Player_Entity }; #define ENTITY_ACTIVE 1 #define ENTITY_PHYSICS_ENABLED (1 << 1) struct entity { enum entity_type type; uint32_t entity_flags flags Vector2 position; //The position of the entity(roughly the center) Rectangle body; }; void update_entity(struct entity* entity, float dt); void draw_entity(const struct entity* entity); #endif