public void PayBail(Trader theBanker) { if (getOutOfJailFreeCards > 0) { getOutOfJailFreeCards--; InJail = false; } else { this.TransferMoney(theBanker, 50); } }
public void TransferMoney(Trader destination, int amount) { if (Balance > amount) { Balance -= amount; destination.Balance += amount; } else { // Display some sort of error that they can't afford nothin' } }
public void TransferPropertySquare(Trader destination, PropertySquare property) { RemovePropertySquare(property); destination.AddPropertySquare(property); }
public void TransferPropertySquare(Trader destination, PropertySquare property) { RemovePropertySquare(property); destination.AddPropertySquare(property); }