public void RemoveEntity(int ID) { ECSEntityHandle Entity = entitys.Find(x => x.ID == ID); Entity.Disposed = true; entitys.Remove(Entity); }
public ECSEntityHandle GetNewEntity() { ECSEntityHandle newEntity = new ECSEntityHandle(0); int EntityID = entitys.Add(newEntity); newEntity.SetID(EntityID); return(newEntity); }
public void RemoveEntity(ECSEntityHandle Entity) { Entity.Disposed = true; entitys.Remove(Entity); }