#include <PathFinder.h>
Inheritance diagram for PathFinder:
Public Member Functions | |
PathFinder () | |
virtual int | NewPath (Tile_coord s, Tile_coord d, Pathfinder_client *client)=0 |
Tile_coord | get_src () |
Tile_coord | get_dest () |
virtual int | GetNextStep (Tile_coord &n, bool &done)=0 |
int | GetNextStep (Tile_coord &n) |
virtual int | set_backwards () |
virtual int | following_smart_path () |
virtual int | get_num_steps ()=0 |
virtual | ~PathFinder () |
Protected Attributes | |
Tile_coord | src |
Tile_coord | dest |
Definition at line 48 of file PathFinder.h.
PathFinder::PathFinder | ( | ) | [inline] |
Definition at line 57 of file PathFinder.h.
PathFinder::~PathFinder | ( | ) | [virtual] |
Definition at line 55 of file PathFinder.cc.
virtual int PathFinder::NewPath | ( | Tile_coord | s, | |
Tile_coord | d, | |||
Pathfinder_client * | client | |||
) | [pure virtual] |
Tile_coord PathFinder::get_src | ( | ) | [inline] |
Tile_coord PathFinder::get_dest | ( | ) | [inline] |
virtual int PathFinder::GetNextStep | ( | Tile_coord & | n, | |
bool & | done | |||
) | [pure virtual] |
int PathFinder::GetNextStep | ( | Tile_coord & | n | ) | [inline] |
Definition at line 69 of file PathFinder.h.
References GetNextStep().
Here is the call graph for this function:
virtual int PathFinder::set_backwards | ( | ) | [inline, virtual] |
virtual int PathFinder::following_smart_path | ( | ) | [inline, virtual] |
Tile_coord PathFinder::src [protected] |
Definition at line 51 of file PathFinder.h.
Referenced by get_src(), Zombie::NewPath(), and Astar::NewPath().
Tile_coord PathFinder::dest [protected] |
Definition at line 52 of file PathFinder.h.
Referenced by get_dest(), Zombie::NewPath(), and Astar::NewPath().