ScummVM API documentation
Crab::PathfindingGraphNode Class Reference

Public Member Functions

 PathfindingGraphNode (Vector2f pos, int i)
 
float getMovementCost ()
 
Vector2f getPosition () const
 
void addNeighbor (PathfindingGraphNode *node)
 
void addNeighbor (PathfindingGraphNode *node, bool ignoreDistance)
 
Rect getRect () const
 
bool adjacentToObstacle () const
 
bool adjacentToNode (PathfindingGraphNode *otherNode)
 

Public Attributes

Common::Array< PathfindingGraphNode * > _neighborNodes
 
Common::Array< float > _neighborCosts
 

The documentation for this class was generated from the following file: