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