Example #1
0
 // Naming things
 IEnumerator Section4Shatter(IEnumerable <IEnumerator> loop)
 {
     foreach (var pulse in loop)
     {
         var g = board.FindGraphicWithSizeGreaterThan(1, 1);
         if (g != null)
         {
             g.BreakToUnitSquares();
         }
         yield return(pulse);
     }
 }
Example #2
0
    /***** PARKING LOT *****/
    bool BreakRect()
    {
        // MUTEX
        var g = board.FindGraphicWithSizeGreaterThan(1, 1);

        if (g != null)
        {
            //g.Subdivide();
            // to smallest?
        }
        return(false);
    }