MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / StateCost

Class StateCost

Source/Utils/micropather.h:139–143  ·  view source on GitHub ↗

Used to pass the cost of states from the cliet application to MicroPather. This structure is copied in a vector. @sa AdjacentCost */

Source from the content-addressed store, hash-verified

137 @sa AdjacentCost
138 */
139 struct StateCost
140 {
141 cPosition state; ///< The state as a cPosition*
142 float cost; ///< The cost to the state. Use FLT_MAX for infinite cost.
143 };
144
145
146 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected