public void Union(HexaSet otherSet) { List <HexaPos> .Enumerator e = otherSet.set.GetEnumerator(); while (e.MoveNext()) { AddPos(e.Current); } }
public void Complement(HexaSet otherSet) { List <HexaPos> .Enumerator e = otherSet.set.GetEnumerator(); while (e.MoveNext()) { RemovePos(e.Current); } }