示例#1
0
 public Sprite getIcon()
 {
     if (slot == null)
     {
         return(transparent);
     }
     else if (slot.isEmpty())
     {
         return(transparent);
     }
     else
     {
         return(slot.getIcon());
     }
 }