Summary
Provides a means for a cell in a structure to define directions one can move to another cell.
Generic type parameters
| TCell |
Type of cell (for example, Square or Hex). |
| TDirection |
Type (usually an enum type) that defines the set of possible directions (for example, Square.Direction or Hex.Direction). |
Instance methods
| TCell | Move(TDirection direction, int amount = 1) | Returns the cell that is amount steps in the specified direction. |