An enumeration of integer values associated with four A* travel directions.
The AStar.Direction values are used in AStar.Cell when querying directional travel capabilities and adjacent cells.
Down = 4 | The "down" direction, describing travel in the negative y direction. |
Left = 2 | The "left" direction, describing travel in the negative x direction. |
Right = 1 | The "right" direction, describing travel in the positive x direction. |
Up = 3 | The "up" direction, describing travel in the positive y direction. |
static readonly int Down = 4
The "down" direction, describing travel in the negative y direction.
static readonly int Left = 2
The "left" direction, describing travel in the negative x direction.
static readonly int Right = 1
The "right" direction, describing travel in the positive x direction.
static readonly int Up = 3
The "up" direction, describing travel in the positive y direction.