Пример #1
0
 public EntityManager(ECSInstance instance)
 {
     this._ecs_instance = instance;
     this._entities     = new Bag <Entity> ();
     this._old_ids      = new Queue <int> ();
 }
Пример #2
0
 public ComponentMapper(IComponent c, ECSInstance ecs_instance)
 {
     this._type_id = c.type_id;
     ComponentMapper.ecs_instance = ecs_instance;
 }
Пример #3
0
 public SystemManager(ECSInstance instance)
 {
     this._ecs_instance = instance;
     this._systems      = new List <EntitySystem> ();
 }