* Gets the previous walking direction for how we got on this node. * @return Previous vector. */
| 93 | * @return Previous vector. |
| 94 | */ |
| 95 | int PathfindingNode::getPrevDir() const |
| 96 | { |
| 97 | return _prevDir; |
| 98 | } |
| 99 | |
| 100 | /** |
| 101 | * Connects the node. This will connect the node to the previous node along the path to @a target |