Ejemplo n.º 1
0
 public Ground(Ground copy)
     : base(copy)
 {
     Width = copy.Width;
     Height = copy.Height;
     CellSet = new Cell[Height, Width];
     for (int y = 0; y < Height; ++y)
     {
         for (int x = 0; x < Width; ++x)
         {
             SetCell(x, y, new Cell(copy.GetCell(x, y)));
         }
     }
 }