Add hurt, die animation when taking damage
This commit is contained in:
@@ -48,6 +48,8 @@ ECS_TAG_DECLARE(Buildable);
|
||||
ECS_TAG_DECLARE(Workable);
|
||||
ECS_TAG_DECLARE(Attackable);
|
||||
|
||||
ECS_COMPONENT_DECLARE(DelayDelete);
|
||||
|
||||
void initComponentIDs(ecs_world_t *ecs) {
|
||||
ECS_TAG_DEFINE(ecs, GameEntity);
|
||||
|
||||
@@ -95,6 +97,7 @@ void initComponentIDs(ecs_world_t *ecs) {
|
||||
ECS_TAG_DEFINE(ecs, Workable);
|
||||
ECS_TAG_DEFINE(ecs, Attackable);
|
||||
|
||||
ECS_COMPONENT_DEFINE(ecs, DelayDelete);
|
||||
}
|
||||
|
||||
#include <rlImGui.h>
|
||||
|
||||
Reference in New Issue
Block a user