/// <summary> /// Checks this alliance can attack the given alliance. /// </summary> /// <param name="allianceID">Alliance ID to check against.</param> /// <returns>True if can attack the given alliance, else false.</returns> public bool CanAttack(AllianceID allianceID) { return(Attackable.Contains(allianceID)); }