protected void LoadStageContent(Stage stage) { /////////////////////////// //Set the base speed for //hookpoints /////////////////////////// hookpointmanager.hookpointspeed = stage.BaseSpeed; /////////////////////////////////// //Add the hookpoints for the stage ////////////////////////////////// foreach (HookPoint hp in stage.HookPoints) { AddHookPoint(hp); } ////////////////////////////////// //Add the obstacles for the stage ////////////////////////////////// if (stage.HasObstacles()) { foreach (Obstacle o in stage.Obstacles) { AddObstacle(o); } } //Check if were not on first stage ////////////////////////////////// if (!StageManager.IsFirstStage()) { ////////////////////////////////// //Kick the first point off ////////////////////////////////// hookpointmanager.SetHookPointTrigger(); } hookpointmanager.InitNextStage(stage); }
public void InitNextStage(Stage stage) { ObstacleManager.InitNextStage(stage); //StagePointsToReach = pointstoreach; }
public void InitNextStage(Stage stage) { }