void HighlighAll()
 {
     foreach (CellDescriptor cell in FieldGrid.Elements)
     {
         CellAlphaProcManager.HighlightCell(cell);
     }
     foreach (NestDescriptor nest in NestGrid.Elements)
     {
         foreach (CellDescriptor cell in nest.Elements)
         {
             CellAlphaProcManager.HighlightCell(cell);
         }
     }
 }
Exemplo n.º 2
0
 public override void Execute()
 {
     foreach (NestDescriptor nest in NestGrid.Elements)
     {
         nest.AssignShape(ShapesGenerator.GenShape());
         nest.AssignFilling(FillGenerator.GenFilling());
     }
     foreach (NestDescriptor nest in NestGrid.Elements)
     {
         nest.Used = false;
         foreach (CellDescriptor cell in nest.Elements)
         {
             if (cell.Enabled)
             {
                 CellAlphaProcManager.HighlightCell(cell);
             }
         }
     }
 }