Esempio n. 1
0
        public static void Draw(SpriteBatch spriteBatch, GameTime gameTime)
        {
            switch (CurrentScene)
            {
            case -1:
                //do nothing
                break;

            case 0:
                //Draw Main menu
                MainMn.Draw(spriteBatch, gameTime);

                break;

            case 1:
                // Draw Game
                Gm.Draw(spriteBatch, gameTime);

                break;

            case 2:

                Splash.Draw(spriteBatch, gameTime);

                break;

            case 3:

                uiTest.Draw(spriteBatch, gameTime);

                break;

            case 4:



                break;
            }
        }