Exemplo n.º 1
0
        public void Union(HexaSet otherSet)
        {
            List <HexaPos> .Enumerator e = otherSet.set.GetEnumerator();

            while (e.MoveNext())
            {
                AddPos(e.Current);
            }
        }
Exemplo n.º 2
0
        public void Complement(HexaSet otherSet)
        {
            List <HexaPos> .Enumerator e = otherSet.set.GetEnumerator();

            while (e.MoveNext())
            {
                RemovePos(e.Current);
            }
        }