public override void Draw() { switch (NogardGame.GameState) { case NogardGame.GameStateEnum.MainMenu: PlayButton.DrawStandardButton(5, "Play", 1); ScoreButton.DrawStandardButton(5, " Highscore", 0.5f); AboutNogardButton.DrawStandardButton(5, "About Nogard", 0.4f); InstuctionsButton.DrawStandardButton(5, " How to play", 0.4f); ExitButton.DrawStandardButton(5, " Exit", 0.4f); MapButton.DrawStandardButton(5, " MapMaker", 0.4f); break; case NogardGame.GameStateEnum.Story: if (StoryMode.IntroStory) { BackButton.DrawStandardButton(5, " Back", 0.5f); } else { ContinueButton.DrawStandardButton(5, " Continue", 0.5f); } break; case NogardGame.GameStateEnum.GameActive: break; case NogardGame.GameStateEnum.HighScoreView: BackButton.DrawStandardButton(5, " Back", 0.5f); break; case NogardGame.GameStateEnum.Pause: ResumeButton.DrawStandardButton(5, "Resume", 0.5f); PauseMenuButton.DrawStandardButton(5, "MainMenu", 0.5f); break; case NogardGame.GameStateEnum.GameOver: if (GameOverManager.ScoreForm.GameSaved == false) { SaveScoreButton.DrawStandardButton(5, "Save Score", 0.5f); } else { SaveScoreButton.DrawStandardButton(5, "Score saved", 0.45f); } MainMenuButton.DrawStandardButton(5, " MainMenu", 0.4f); QuitButton.DrawStandardButton(5, " Quit Game", 0.4f); break; case NogardGame.GameStateEnum.MapMaker: break; case NogardGame.GameStateEnum.LevelSelector: LevelOneButton.DrawStandardButton(5, " Level One", 0.5f); LevelTwoButton.DrawStandardButton(5, " Level Two", 0.5f); LevelThreeButton.DrawStandardButton(5, " Level Three", 0.5f); SelectorBackButton.DrawStandardButton(5, " Back", 0.4f); break; default: throw new ArgumentOutOfRangeException(); } }