1 using System.Collections.Generic;
28 internal int CellsWalked {
get {
return max - i; } }
37 this.cellWalker = cellWalker;
38 this.i = this.max = max;
45 internal virtual IEnumerable<Cell> GetNext()
47 foreach (
Cell cell
in cellWalker.GetNext())
48 if (i-- > 0 && cell.Sensor == null)
int i
Current number of remaining walked cells
Abstract class for returning cells by walking through topology.
Class wrapping a cell walker and applying limit to number of walked cells.