Struct SquareGrid.Enumerator
Namespace: AnyPath.Graphs.SquareGrid
Assembly: AnyPath.dll
Syntax
public struct SquareGrid.Enumerator : IEnumerator<SquareGridCell>, IEnumerator, IDisposable
Constructors
Enumerator(SquareGrid)
Declaration
public Enumerator(SquareGrid grid)
Parameters
Type | Name | Description |
---|---|---|
SquareGrid | grid |
Properties
Current
Declaration
public SquareGridCell Current { get; }
Property Value
Type | Description |
---|---|
SquareGridCell |
Methods
Dispose()
Declaration
public void Dispose()
MoveNext()
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
bool |
Reset()
Declaration
public void Reset()