Пример #1
0
 //
 internal EntityManager(EntityDataManager dataManager, ArcheTypeManager archeTypeManager, ComponentBlockManager componentBlockManager)
 {
     _dataManager           = dataManager;
     _archeTypeManager      = archeTypeManager;
     _componentBlockManager = componentBlockManager;
     Capacity = 16;
 }
Пример #2
0
 //
 public World()
 {
     _entityDataManager     = new EntityDataManager();
     _archeTypeManager      = new ArcheTypeManager();
     _componentBlockManager = new ComponentBlockManager(_entityDataManager);
     _entityManager         = new EntityManager(_entityDataManager, _archeTypeManager, _componentBlockManager);
 }