- Declared in: RT.Coordinates.Square
Declaration
public IEnumerable<Square> GetNeighbors(
bool includeDiagonal = false
)
Summary
Returns a collection of all of this cell’s neighbors.
Parameters
bool | includeDiagonal |
If true , diagonal neighbors are included. |