Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: IEnumerable<Square> GetNeighbors(bool)

  • 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

boolincludeDiagonal If true, diagonal neighbors are included.