ScummVM API documentation
Ultima::Nuvie::PathFinder Class Referenceabstract
Inheritance diagram for Ultima::Nuvie::PathFinder:
Ultima::Nuvie::ActorPathFinder Ultima::Nuvie::CombatPathFinder Ultima::Nuvie::SchedPathFinder

Public Member Functions

 PathFinder (const MapCoord &s, const MapCoord &g)
 
void set_search (Path *new_path)
 
virtual void set_start (const MapCoord &s)
 
virtual void set_goal (const MapCoord &g)
 
virtual void set_location (const MapCoord &l)
 
virtual MapCoord get_location ()
 
virtual MapCoord get_goal ()
 
virtual bool reached_goal ()
 
virtual bool check_dir (const MapCoord &from, MapCoord &rel, sint8 unused=0)
 
virtual bool check_loc (const MapCoord &loc)=0
 
bool check_loc (uint16 x, uint16 y, uint8 z)
 
virtual bool find_path ()
 
virtual bool have_path ()
 
virtual bool is_path_clear ()
 
virtual bool get_next_move (MapCoord &step)=0
 

Protected Member Functions

void new_search (Path *new_path)
 

Protected Attributes

MapCoord start
 
MapCoord goal
 
MapCoord loc
 
Pathsearch
 

The documentation for this class was generated from the following file: