/// <summary> /// Draws the sprite. /// </summary> public virtual void Draw() { if (IsHovered) { BttnSprite.color = Color.LightGreen; } else { BttnSprite.color = Color.White; } BttnSprite.Draw(game.GameSpriteBatch); }
/// <summary> /// Draws the button. /// </summary> public void Draw() { BttnSprite.Draw(game.GameSpriteBatch); }