representation of cost in specific direction More...
Public Member Functions | |
PathCost ()=default | |
default constructor | |
PathCost (const PathCost &b) | |
copy constructor | |
PathCost & | operator= (const PathCost &b) |
assignment operator | |
Public Attributes | |
bool | valid = false |
movement is possible | |
int | value = 0 |
cost of movement | |
int | y_change = 0 |
change of y position of movement | |
bool | updated = false |
this cost has ben calculated | |
representation of cost in specific direction
|
default |
default constructor
PathCost::PathCost | ( | const PathCost & | b | ) |
bool PathCost::updated = false |
this cost has ben calculated
Referenced by PathCost(), Pathfinder::calcCost(), operator=(), and Pathfinder::updateCostHeuristic().
bool PathCost::valid = false |
movement is possible
Referenced by PathCost(), Pathfinder::calcCost(), operator=(), Pathfinder::updateAllCosts(), and Pathfinder::updateCostHeuristic().
int PathCost::value = 0 |
cost of movement
Referenced by PathCost(), Pathfinder::calcCost(), operator=(), Pathfinder::updateAllCosts(), and Pathfinder::updateCostHeuristic().
int PathCost::y_change = 0 |
change of y position of movement
Referenced by PathCost(), Pathfinder::calcCost(), operator=(), Pathfinder::updateAllCosts(), and Pathfinder::updateCostHeuristic().