public ManagerContainer(IManagerChangeNotify notify, IContextState context) { EntityOrder = new EntityOrderContainer(); this.SystemManager = new SystemManager(notify, context); var encom = new EntityComponentManager(notify, EntityOrder); this.ComponentManager = encom; this.EntityManager = encom; }
public ManagerContainer(IManagerChangeNotify notify, IOctreeManager octree, IContextState context, IGeometryMemoryPool geoPool, RenderLoopSynchronizationContext syncContext, ILabLogger logger) { SynchronizationContext = syncContext; EntityOrder = new EntityOrderContainer(); this.SystemManager = new SystemManager(notify, context); var encom = new EntityComponentManager(notify, EntityOrder, syncContext); GeoMemoryPool = geoPool; this.ComponentManager = encom; this.EntityManager = encom; OctreeManager = octree; Logger = logger; }