private void SellPropertyToPlayerIfAffordable(Int32 playerId) { if (cost < banker.GetBalanceFor(playerId)) { banker.CollectMoneyFrom(playerId, cost); OwnerId = playerId; IsOwned = true; } }
public void PerformOn(Int32 playerId) { banker.CollectMoneyFrom(playerId, money); }
public void RemoveWithFine(Int32 playerId) { banker.CollectMoneyFrom(playerId, jailFine); Remove(playerId); }