public CreaturePlaceToTrigger(Entity entity, int triggerIdx, bool orientByTrigger = true, bool moveToGround = true) { Entity = entity; TriggerIdx = triggerIdx; OrientByTrigger = orientByTrigger; MoveToGround = moveToGround; }
public static void Register(DefaultEcs.Entity handle, Entity entity) { if (entity) { Entities[handle] = entity; } else { Entities.Remove(handle); } }
public static Entity GetWithHandle(DefaultEcs.Entity handle) => Entities[handle];
public NPCMoveSystem(Entity entity, Mode waypointMode, int waypointCategory) { Entity = entity; WaypointMode = waypointMode; WaypointCategory = waypointCategory; }
internal Entity(DefaultEcs.Entity handle) { Handle = handle; CoreECS.Register(Handle, this); Events = new EntityEvents(); }