Beispiel #1
0
 public override IEnumerable <RectInt> From(RectInt origin)
 {
     foreach (var chunk in _chute.From(origin))
     {
         _backgroundFactory.Create(chunk.center);
         yield return(chunk);
     }
 }
Beispiel #2
0
 public override IEnumerable <RectInt> From(RectInt origin)
 {
     return(_chute.From(origin).Select(Draw));
 }