Ejemplo n.º 1
0
 public (IAction[], State.Player) Perform(State.Player player, State.IProvinces provinces)
 {
     return(player.Id == Player ? (new[] { new Actions.Loan(Player, Amount, settings) }, player.GainMoney(Amount)) : (System.Array.Empty <IAction>(), player));
 }
Ejemplo n.º 2
0
 public (IAction[], State.Player) Perform(State.Player player, State.IProvinces provinces)
 {
     return(System.Array.Empty <IAction>(), player.Id == Player ? player.Pay(Amount) : player.Id == Recipient ? player.GainMoney(Amount) : player);
 }