Exemplo n.º 1
0
 public TransformSystem(EntityManager em, EntitySystemManager esm)
     : base(em, esm)
 {
     EntityQuery = new EntityQuery();
     EntityQuery.AllSet.Add(typeof(TransformComponent));
     EntityQuery.Exclusionset.Add(typeof(SlaveMoverComponent));
 }
Exemplo n.º 2
0
 public InventorySystem(EntityManager em, EntitySystemManager esm)
     : base(em, esm)
 {
     EntityQuery = new EntityQuery();
     EntityQuery.OneSet.Add(typeof(InventoryComponent));
     EntityQuery.OneSet.Add(typeof(EquipmentComponent));
     EntityQuery.OneSet.Add(typeof(HumanHandsComponent));
 }
Exemplo n.º 3
0
 public InventorySystem(EntityManager em, EntitySystemManager esm)
     : base(em, esm)
 {
     EntityQuery = new EntityQuery();
     EntityQuery.OneSet.Add(typeof (InventoryComponent));
     EntityQuery.OneSet.Add(typeof (EquipmentComponent));
     EntityQuery.OneSet.Add(typeof (HumanHandsComponent));
 }
Exemplo n.º 4
0
 public InventorySystem()
 {
     componentFactory = IoCManager.Resolve <IComponentFactory>();
     EntityQuery      = new EntityQuery();
     EntityQuery.OneSet.Add(typeof(InventoryComponent));
     EntityQuery.OneSet.Add(typeof(EquipmentComponent));
     EntityQuery.OneSet.Add(typeof(HumanHandsComponent));
 }
Exemplo n.º 5
0
 public PhysicsSystem(EntityManager em, EntitySystemManager esm)
     : base(em, esm)
 {
     EntityQuery = new EntityQuery();
     EntityQuery.AllSet.Add(typeof(PhysicsComponent));
     EntityQuery.AllSet.Add(typeof(VelocityComponent));
     EntityQuery.AllSet.Add(typeof(TransformComponent));
     EntityQuery.Exclusionset.Add(typeof(SlaveMoverComponent));
     EntityQuery.Exclusionset.Add(typeof(PlayerInputMoverComponent));
 }
Exemplo n.º 6
0
 public InputSystem(EntityManager em, EntitySystemManager esm)
     : base(em, esm)
 {
     EntityQuery = new EntityQuery();
     EntityQuery.OneSet.Add(typeof (KeyBindingInputComponent));
 }
Exemplo n.º 7
0
 public ParticleSystem(EntityManager em, EntitySystemManager esm)
     : base(em, esm)
 {
     EntityQuery = new EntityQuery();
     EntityQuery.OneSet.Add(typeof(ParticleSystemComponent));
 }
Exemplo n.º 8
0
 public TestSystem(EntityManager em, EntitySystemManager esm)
     : base(em, esm)
 {
     EntityQuery = new EntityQuery();
     EntityQuery.OneSet.Add(typeof (BasicItemComponent));
 }
Exemplo n.º 9
0
 public InventorySystem(EntityManager em, EntitySystemManager esm)
     : base(em, esm)
 {
     EntityQuery = new EntityQuery();
 }