Public Member Functions |
| | KY_DECLARE_CONSTRAINT (DtSandConstraint) |
| | DtSandConstraint () |
| | KY_DECLARE_CONSTRAINT (DtPreferredTerrainTypeConstraint) |
| | DtPreferredTerrainTypeConstraint () |
| KyBool | GetCost (Kaim::Bot *bot, const Kaim::PointWrapper &from, const Kaim::PointWrapper &to, KyFloat32 &cost) |
| KyBool | GetCost_PathFinding (Kaim::Bot &bot, const Kaim::PointWrapper &from, const Kaim::PointWrapper &to, KyFloat32 &cost) |
| KyBool | GetCost_PathFollowing (Kaim::Bot &bot, const Kaim::PointWrapper &from, const Kaim::PointWrapper &to, KyFloat32 &cost) |
| Kaim::NavTerrainTypeMask | GetNavTerrainTypeMask (const Kaim::PointWrapper &pw, Kaim::Bot *bot) |
| void | SetDifficultyFactor (const KyFloat32 &difficultyFactor) |
| const KyFloat32 & | GetDifficultyFactor () const |
| virtual void | OnStartAstar (const Kaim::GraphVertexPtr &, const Kaim::GraphVertexPtr &) |
| virtual void | OnPauseAstar (const Kaim::GraphVertexPtr &, const Kaim::GraphVertexPtr &) |
| virtual void | OnResumeAstar (const Kaim::GraphVertexPtr &, const Kaim::GraphVertexPtr &) |
| virtual void | OnFinishAstar (const Kaim::GraphVertexPtr &, const Kaim::GraphVertexPtr &) |
Simply altered the cost during the construction of a path. This simple constraint makes sand cost twice as much as any other terrain type. Since it extends from DtPreferredTerrainTypeConstraint, it still has the ability to differentiate between avoid/prefer roads and free states