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>(); }
public EntityManager (World world) { World = world; _entities = new Dictionary<uint, BitSet>(); _subsystems = new List<Subsystem>(); }