Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GridNode ¶
type GridNode struct { X int Y int Cost float64 IsObstacle bool // contains filtered or unexported fields }
GridNode grid node
func (*GridNode) ActualDistanceToNeighbor ¶
ActualDistanceToNeighbor get distance to a neighbor
func (*GridNode) EstimateDistanceToGoal ¶
EstimateDistanceToGoal get distance to the goal
func (*GridNode) GetNeighbors ¶
GetNeighbors get neighbors
Click to show internal directories.
Click to hide internal directories.