MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getPrevDir

Method getPrevDir

src/Battlescape/PathfindingNode.cpp:95–98  ·  view source on GitHub ↗

* Gets the previous walking direction for how we got on this node. * @return Previous vector. */

Source from the content-addressed store, hash-verified

93 * @return Previous vector.
94 */
95int 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

Callers 1

aStarPathMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected