コード例 #1
0
        public Circle2DArray <bool> GetNextGeneration()
        {
            Circle2DArray <bool> nextgen = new Circle2DArray <bool>(width, height);

            //Console.WriteLine(nextgen);
            for (long x = 0; x < width; ++x)
            {
                for (long y = 0; y < height; ++y)
                {
                    nextgen[x, y] = DetermineNextState(x, y);
                }
            }
            return(nextgen);
        }
コード例 #2
0
 public void CopyRefToThis(Circle2DArray <value_type> other)
 {
     array = other.array;
 }