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); } }
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); } }
public void Draw(SpriteBatch spriteBatch) { backButton.Draw(spriteBatch); settingsPrompt.Draw(spriteBatch); mousePointer.Draw(spriteBatch); }