Ejemplo n.º 1
0
 public Sequence(Block.Generator blockGenerator)
 {
     blocks = new Matrix2d<Block>(PuzzleOption.BlockCountX, PuzzleOption.BlockCountY);
     blocks.ForAll(
         delegate(int x, int y, ref Block cell, ref bool stop)
         {
             cell = blockGenerator.GetNew(x, y);
         }
     );
 }