private void SetStatusAndTutorialDisplays() { if (Profile.CurrentAreaData.Name == "Tutorial") { _tutorialRunner.Initialize(); _tutorialRunner.PauseTrigger = HoldForTutorialStep; _player.TutorialStepTrigger = _tutorialRunner.CheckForStepTrigger; _statusDisplay.Visible = false; } else { _statusDisplay.Visible = true; } }
private void SetStatusAndTutorialDisplays() { if (Profile.CurrentAreaData.Name == "Tutorial") { _tutorialRunner.Initialize(); _tutorialRunner.DisplayArea = new Rectangle(0, 0, Definitions.Back_Buffer_Width, Definitions.Back_Buffer_Height); _tutorialRunner.PauseTrigger = HoldForTutorialStep; _tutorialRunner.Visible = true; RegisterGameObject(_tutorialRunner); _player.TutorialStepTrigger = _tutorialRunner.CheckForStepTrigger; _statusDisplay.Visible = false; } else { _statusDisplay.Position = Vector2.Zero; _statusDisplay.Visible = true; } }