| 459 | |
| 460 | |
| 461 | void PathNode::Init( unsigned _frame, |
| 462 | cPosition _state, |
| 463 | float _costFromStart, |
| 464 | float _estToGoal, |
| 465 | PathNode* _parent ) |
| 466 | { |
| 467 | state = _state; |
| 468 | costFromStart = _costFromStart; |
| 469 | estToGoal = _estToGoal; |
| 470 | CalcTotalCost(); |
| 471 | parent = _parent; |
| 472 | frame = _frame; |
| 473 | inOpen = 0; |
| 474 | inClosed = 0; |
| 475 | } |
| 476 | |
| 477 | |
| 478 | void PathNode::Clear() |
no outgoing calls
no test coverage detected