Beispiel #1
0
        public Grid(Grid _g)
        {
            this.PuzzleOrder = _g.PuzzleOrder;
            this.SquareOrder = _g.SquareOrder;
            playGrid         = new List <Cell <int> >();
            fixedValue       = new List <Cell <int> >();
            foreach (Cell <int> cell in _g.FixedValue)
            {
                this.fixedValue.Add(new Cell <int>(cell));
            }

            foreach (Cell <int> cell in _g.playGrid)
            {
                PlayGrid.Add(new Cell <int>(cell));
            }
        }