Exemple #1
0
 public override void Draw(SpriteBatch b)
 {
     if (BoxColor.HasValue)
     {
         IClickableMenu.drawTextureBox(b, ( int )Position.X, ( int )Position.Y, Width, Height, BoxColor.Value);
     }
     if (ItemDisplay != null)
     {
         ItemDisplay.drawInMenu(b, Position + new Vector2(16, 16), 1, TransparentItemDisplay ? 0.5f : 1, 1);
     }
 }