Esempio n. 1
0
        public void Render()
        {
            switch (CurrentState)
            {
            case GameState.MainMenu:
                MainMenu.Render();

                break;

            case GameState.Credits:
                Credits.Render();

                break;

            case GameState.Options:

                break;

            case GameState.GameOverScreen:
                GameOverScreen.Render();

                break;

            case GameState.WinScreen:
                WinScreen.Render();

                break;

            case GameState.Level:
                LevelController.Render();

                break;

            default:
                break;
            }
        }