// 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); } }
/***** PARKING LOT *****/ bool BreakRect() { // MUTEX var g = board.FindGraphicWithSizeGreaterThan(1, 1); if (g != null) { //g.Subdivide(); // to smallest? } return(false); }