예제 #1
0
 public void Draw(SpriteBatch spriteBatch)
 {
     if (Game.Delay < 1800)
     {
         Game.GraphicsDevice.Clear(Color.Orchid);
         spriteBatch.Begin();
         spriteBatch.DrawString(TextFont, "Starting game in..." + (TimeRemaining), TopCenter + new Vector2(1400, -175), Color.White);
         spriteBatch.DrawString(TextFont, "Princess Peach has decided to give up her crown. There are too few women in the STEM field.", TopCenter + new Vector2(Constants.ZERO, 30), Color.White);
         spriteBatch.DrawString(TextFont, "After changing her major from Women Studies, Peach has decided she wants to get a degree in", TopCenter + new Vector2(Constants.ZERO, 80), Color.White);
         spriteBatch.DrawString(TextFont, "Computer Science and Engineering. BUT, little did she know, CSE classrooms are flooded with", TopCenter + new Vector2(Constants.ZERO, 130), Color.White);
         spriteBatch.DrawString(TextFont, "men. Peach is determined to compete with those in her classes (Bowser and Mario), get into", TopCenter + new Vector2(Constants.ZERO, 180), Color.White);
         spriteBatch.DrawString(TextFont, "the CSE program with a 3.2 GPA, even out the wage gap, and then...break the glass ceiling.", TopCenter + new Vector2(Constants.ZERO, 230), Color.White);
         spriteBatch.DrawString(TextFont, "Gasp! Will she do it?", TopCenter + new Vector2(Constants.ZERO, 280), Color.White);
         UniversitySprite.Draw(spriteBatch);
         Peach.Draw(spriteBatch);
         spriteBatch.End();
     }
     else if (Game.Delay >= 1800 && Game.Delay < 1950)
     {
         //comment
         Game.GraphicsDevice.Clear(Color.White);
         spriteBatch.Begin();
         LogoSprite.Draw(spriteBatch);
         spriteBatch.End();
     }
     else
     {
         Game.currentGameState.InitializeTransition();
     }
 }