Пример #1
0
 public override void Draw(GameTime gameTime, SpriteBatch spriteBatch)
 {
     base.Draw(gameTime, spriteBatch);
     if (ButtonText != null)
     {
         ButtonText.Draw(spriteBatch, ForeColor);
     }
 }
Пример #2
0
 public override void Draw(GameTime gameTime, SpriteBatch spriteBatch)
 {
     base.Draw(gameTime, spriteBatch);
     ButtonText.Draw(gameTime, spriteBatch);
 }