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)); }
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); }