Example #1
0
 public UpdateCubePositionSystem(MainWorld world)
 {
     mainWorld = world;
     testGroup = mainWorld.CreateGroup(GroupType.All, new HashSet <Type>
     {
         typeof(GameObjectComponent)
     });
 }
Example #2
0
 public MoveGameObjectSystem(MainWorld world)
 {
     mainWorld        = world;
     gameObjectsGroup = mainWorld.CreateGroup(GroupType.All, new HashSet <Type>
     {
         typeof(GameObjectComponent),
         typeof(PositionComponent)
     });
 }