コード例 #1
0
        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;
        }
コード例 #2
0
 GenneralContextState(ContextStateProcessor processor, IOctreeManager octree,
                      IGeometryMemoryPool geoPool, EngineNotificator notificator,
                      RenderLoopSynchronizationContext context, ILabLogger logger)
     : base(processor, new ManagerContainer(notificator, octree, processor, geoPool, context, logger))
 {
 }