Пример #1
0
 /// <summary>
 /// Draws the IconNumber in the desired spot. Pos is specified
 /// by the Tooltip's IconNumber slots.
 /// </summary>
 /// <param name="pos">The position to draw the NW corner of the icon</param>
 public void Draw(Vector2 pos)
 {
     Gui.Batch.Draw(Icon, pos, Color.White);
     Gui.DrawString(Gui.BigFont, Number.ToString(), new Vector2(pos.X + Icon.Width + 2, pos.Y));
 }