コード例 #1
0
ファイル: Subsystem.cs プロジェクト: hotdiggitydoddo/Helios
        protected Subsystem(World theWorld)
        {
            World = theWorld;
            World.EntityManager.RegisterSubsystem(this);
            ComponentMask = new BitSet();
            RelevantEntities = new List<uint> ();
            _entitiesToAdd = new List<uint>();
            _entitiesToRemove = new List<uint>();

        }
コード例 #2
0
		public EntityManager (World world)
		{
			World = world;
			_entities = new Dictionary<uint, BitSet>();
			_subsystems = new List<Subsystem>();
		}