public (IAction?, Player) Perform(Player player, Player active, IProvinces provinces) { return(this, provinces.Any(prov => prov.IsAllyOf(player.Id)) ? player : player.Die()); }
public (IAction[], Player) Perform(Player player, Player active, IProvinces provinces) { return(new[] { this }, provinces.Any(prov => prov.IsControlledBy(player.Id)) ? player : player.Die()); }