SmartboyDevelopments.Haxxit.MonoGame.GameStates.ButtonHover.Draw C# (CSharp) Method

Draw() public method

public Draw ( SpriteBatch sprite_batch ) : void
sprite_batch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void
        public void Draw(SpriteBatch sprite_batch)
        {
            button_hover.Draw(sprite_batch);
            if (tooltip_text != "")
            {
                tooltip_box.Draw(sprite_batch);
                sprite_batch.DrawString(tooltip_font, tooltip_text, tooltip_text_position.ToVector2(), Color.Black);
            }
        }