Add hitboxes
This commit is contained in:
@@ -136,6 +136,9 @@ extern ECS_COMPONENT_DECLARE(Easing);
|
||||
* Gameplay components
|
||||
*********************************************************/
|
||||
|
||||
typedef Rectangle HitBox;
|
||||
extern ECS_COMPONENT_DECLARE(HitBox);
|
||||
|
||||
typedef struct WeaponMelee {
|
||||
ecs_entity_t weapon;
|
||||
f32 reach;
|
||||
|
||||
Reference in New Issue
Block a user