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