示例#1
0
 public void Draw(SpriteBatch spriteBatch)
 {
     spriteBatch.Draw(titleImage, titleImageContainer, sourceRectangle, Color.White);
     settingsButton.Draw(spriteBatch);
     startGameButton.Draw(spriteBatch);
     mousePointer.Draw(spriteBatch);
     if (blackingOut)
     {
         spriteBatch.Draw(Button.buttonImage, new Rectangle(0, 0, 500, 500), Color.Black);
     }
 }
示例#2
0
 public void Draw(SpriteBatch spriteBatch)
 {
     spriteBatch.Draw(blankTex, new Rectangle(0, 0, 800, 600), Color.White * 0.5f);
     playAgainButton.Draw(spriteBatch);
     winPrompt.Draw(spriteBatch);
     mousePointer.Draw(spriteBatch);
     if (blackingOut)
     {
         spriteBatch.Draw(Button.buttonImage, new Rectangle(0, 0, 500, 500), Color.Black);
     }
 }
示例#3
0
 public void Draw(SpriteBatch spriteBatch)
 {
     backButton.Draw(spriteBatch);
     settingsPrompt.Draw(spriteBatch);
     mousePointer.Draw(spriteBatch);
 }