Пример #1
0
 public void Apply(BoxController bc)
 {
     bc.Clear(false);
     bc.SetColor(color, false);
     if (centreMode)
     {
         bc.SetFull(full, false);
     }
     else
     {
         foreach (var x in centres)
         {
             bc.ToggleCentre(x, false);
         }
         foreach (var x in corners)
         {
             bc.ToggleCorner(x, false);
         }
     }
 }