예제 #1
0
 public bool CanBuy(IInventoryOwner owner, ItemShop buyItem)
 {
     return(owner.GetCurrentCurency() < buyItem.Cost);
 }
예제 #2
0
 public bool CanBuy(IInventoryOwner owner, int index)
 {
     return(owner.GetCurrentCurency() < itemShops[index].Cost);
 }