public void Draw() { graphicsDevice.BeginDraw(); switch (currentState) { case State.Title: title.Draw(graphicsDevice); break; case State.StageSelect: title.Draw(graphicsDevice); stageSelect.Draw(graphicsDevice); break; case State.Game: currentGame.Draw(graphicsDevice); break; case State.Ending: ending.Draw(graphicsDevice); break; } graphicsDevice.EndDraw(); }