Beispiel #1
0
 public void DrawTooltip(SpriteBatch spriteBatch)
 {
     if (_showHoverText)
     {
         FontHelper.DrawTooltip(spriteBatch, _hoverText);
     }
 }
Beispiel #2
0
 public void DrawToolTip(SpriteBatch spriteBatch)
 {
     if (IsHovered() && !_isReturningToDefaultPos)
     {
         string name = "Name not found";
         name = _tile.Id.ToString();
         FontHelper.DrawTooltip(spriteBatch, name);
     }
 }