public void Draw(SpriteBatch spriteBatch) { background.Draw(spriteBatch); // Draw buttons foreach (Button button in menuButtons) { button.Draw(spriteBatch); } spriteBatch.Draw(ContentStore.help, MoboUtils.textureOrigin(ContentStore.help), Color.White); }
public void Draw(SpriteBatch spriteBatch) { // Draw background background.Draw(spriteBatch); // Draw logo in middle of screen spriteBatch.Draw(ContentStore.logo, MoboUtils.textureOrigin(ContentStore.logo) - new Vector2(0, 64), Color.White); // Draw buttons foreach (Button button in menuButtons) { button.Draw(spriteBatch); } }