GiveGold() public method

public GiveGold ( Mobile to, int amount ) : int
to Mobile
amount int
return int
Exemplo n.º 1
0
 private void GiveGold(Mobile to, int amount)
 {
     if (amount <= 0)
     {
         m_Vendor.SayTo(to, "Very well. I will hold on to the money for now then.");
     }
     else
     {
         m_Vendor.GiveGold(to, amount);
     }
 }