Esempio n. 1
0
        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>();

        }
Esempio n. 2
0
		public EntityManager (World world)
		{
			World = world;
			_entities = new Dictionary<uint, BitSet>();
			_subsystems = new List<Subsystem>();
		}