private bool ValidateItem(MergerMove merger, GameState state) { Faction originalOwner = merger.Faction; bool growerValid = ValidateProvinceOwner(originalOwner, merger.GrowingProvince, state); bool absorberValid = ValidateProvinceOwner(originalOwner, merger.AbsorbedProvince, state); return(growerValid && absorberValid); }
public MergerChain(MergerMove move) { Provinces = new List <Province>() { move.GrowingProvince, move.AbsorbedProvince }; SourceProvince = Provinces.FirstOrDefault(); EliminatedProvinces = Provinces.Skip(1).ToArray(); }