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

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

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