ScummVM API documentation
Ultima::Nuvie::Path Class Referenceabstract
Inheritance diagram for Ultima::Nuvie::Path:
Ultima::Nuvie::AStarPath Ultima::Nuvie::SeekPath Ultima::Nuvie::U6AStarPath

Public Member Functions

void set_pathfinder (PathFinder *pathfinder)
 
virtual bool path_search (const MapCoord &start, const MapCoord &goal)=0
 
void delete_path ()
 
virtual bool have_path ()
 
virtual sint32 step_cost (const MapCoord &c1, const MapCoord &c2)=0
 
virtual uint32 path_cost_est (const MapCoord &s, const MapCoord &g)
 
virtual uint32 get_max_score (uint32 cost)
 
virtual const MapCoordget_first_step ()
 
virtual const MapCoordget_last_step ()
 
virtual const MapCoordget_step (uint32 step_index)
 
virtual void get_path (MapCoord **path_start, uint32 &path_size)
 
uint32 get_num_steps ()
 
virtual bool remove_first_step ()
 

Protected Member Functions

void add_step (const MapCoord &loc)
 
bool check_dir (const MapCoord &loc, MapCoord &rel)
 
bool check_loc (const MapCoord &loc)
 
void set_path_size (int alloc_size)
 

Protected Attributes

MapCoordpath
 
uint32 step_count
 
uint32 path_size
 
PathFinderpf
 

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