Пример #1
0
 public void DestroyEntity(int i)
 {
     foreach (IIndexed <IComponent> indexed in systemCollection.componentLUT.Values)
     {
         indexed.Remove(i);
     }
     deletedEntities.Enqueue(entities[i]);
     entities.Remove(i);
 }