#include <PathFinder.h>
Inheritance diagram for Pathfinder_client:


Public Member Functions | |
| virtual int | get_max_cost (int cost_to_goal) |
| virtual int | get_step_cost (Tile_coord from, Tile_coord &to)=0 |
| virtual int | estimate_cost (Tile_coord &from, Tile_coord &to)=0 |
| virtual int | at_goal (Tile_coord &tile, Tile_coord &goal) |
| int | get_move_flags () |
| void | set_move_flags (int m) |
Private Attributes | |
| int | move_flags |
Definition at line 27 of file PathFinder.h.
| int Pathfinder_client::get_max_cost | ( | int | cost_to_goal | ) | [virtual] |
Reimplemented in Actor_pathfinder_client, Fast_pathfinder_client, and Monster_pathfinder_client.
Definition at line 31 of file PathFinder.cc.
References max_cost.
Referenced by Find_path().
| virtual int Pathfinder_client::get_step_cost | ( | Tile_coord | from, | |
| Tile_coord & | to | |||
| ) | [pure virtual] |
Implemented in Actor_pathfinder_client, Offscreen_pathfinder_client, Fast_pathfinder_client, and Monster_pathfinder_client.
Referenced by Find_path().
| virtual int Pathfinder_client::estimate_cost | ( | Tile_coord & | from, | |
| Tile_coord & | to | |||
| ) | [pure virtual] |
Implemented in Actor_pathfinder_client, Onecoord_pathfinder_client, Offscreen_pathfinder_client, and Fast_pathfinder_client.
Referenced by Find_path().
| int Pathfinder_client::at_goal | ( | Tile_coord & | tile, | |
| Tile_coord & | goal | |||
| ) | [virtual] |
Reimplemented in Actor_pathfinder_client, Onecoord_pathfinder_client, Offscreen_pathfinder_client, Fast_pathfinder_client, and Monster_pathfinder_client.
Definition at line 45 of file PathFinder.cc.
References Tile_coord::tx, Tile_coord::ty, and Tile_coord::tz.
Referenced by Find_path().
| int Pathfinder_client::get_move_flags | ( | ) | [inline] |
| void Pathfinder_client::set_move_flags | ( | int | m | ) | [inline] |
Definition at line 42 of file PathFinder.h.
References move_flags.
Referenced by Fast_pathfinder_client::Fast_pathfinder_client().
int Pathfinder_client::move_flags [private] |
1.5.1