provide EcsActor

isolation_bkp/dynres
Dominik Madarász 2021-01-18 14:48:28 +01:00
parent fb7423e4b1
commit 67726b66aa
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ static inline void ControllersImport(ecs_world_t *ecs) {
ECS_TAG(ecs, EcsPlayer);
ECS_TAG(ecs, EcsBuilder);
ECS_PREFAB(ecs, Base, general.Position, physics.Velocity, Input);
ECS_PREFAB(ecs, Base, general.Position, physics.Velocity, Input, EcsActor);
ECS_TYPE(ecs, Player, INSTANCEOF | Base, SWITCH | physics.Movement, CASE | physics.Walking, EcsActor, EcsPlayer);
ECS_TYPE(ecs, Builder, INSTANCEOF | Base, SWITCH | physics.Movement, CASE | physics.Flying, EcsActor, EcsBuilder);