public void Draw(SpriteBatch spriteBatch) { backround.Draw(spriteBatch); foreach (MenuObject obj in objects) { obj.Draw(spriteBatch); } }
public void Draw(SpriteBatch spriteBatch) { if (!Over) { lessHp.Draw(spriteBatch); } foreach (MenuObject obj in objects) { obj.Draw(spriteBatch); } if (Over) { spriteBatch.GraphicsDevice.Clear(Color.TransparentBlack); BackOver.Draw(spriteBatch); } }