Pathfinder_client Class Reference

#include <PathFinder.h>

Inheritance diagram for Pathfinder_client:

Inheritance graph
[legend]
Collaboration diagram for Pathfinder_client:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 27 of file PathFinder.h.


Member Function Documentation

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]

Definition at line 41 of file PathFinder.h.

References move_flags.

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().


Member Data Documentation

int Pathfinder_client::move_flags [private]

Definition at line 30 of file PathFinder.h.

Referenced by get_move_flags(), and set_move_flags().


The documentation for this class was generated from the following files:
Generated on Mon Jul 9 15:01:24 2007 for ExultEngine by  doxygen 1.5.1