GiveGold() public méthode

public GiveGold ( Mobile to, int amount ) : int
to Mobile
amount int
Résultat int
Exemple #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);
     }
 }