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

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

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