Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Interface: RT.Coordinates.IHasDirection<TCell, TDirection>

Summary

Provides a means for a cell in a structure to define directions one can move to another cell.

Generic type parameters

TCell
  • Must derive from: RT.Coordinates.IHasDirection<TCell, TDirection>.
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)
  • Abstract
Returns the cell that is amount steps in the specified direction.