Offscreen_pathfinder_client Class Reference

#include <paths.h>

Inheritance diagram for Offscreen_pathfinder_client:

Inheritance graph
[legend]
Collaboration diagram for Offscreen_pathfinder_client:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Offscreen_pathfinder_client (Actor *n)
 Offscreen_pathfinder_client (Actor *n, Tile_coord b)
virtual int get_step_cost (Tile_coord from, Tile_coord &to)
virtual int estimate_cost (Tile_coord &from, Tile_coord &to)
virtual int at_goal (Tile_coord &tile, Tile_coord &goal)

Private Attributes

Rectangle screen
Tile_coord best

Detailed Description

Definition at line 73 of file paths.h.


Constructor & Destructor Documentation

Offscreen_pathfinder_client::Offscreen_pathfinder_client ( Actor n  ) 

Definition at line 228 of file paths.cc.

Offscreen_pathfinder_client::Offscreen_pathfinder_client ( Actor n,
Tile_coord  b 
)

Definition at line 241 of file paths.cc.

References Game_window::get_instance(), Game_window::get_win_tile_rect(), Rectangle::h, Rectangle::w, Rectangle::x, and Rectangle::y.

Here is the call graph for this function:


Member Function Documentation

int Offscreen_pathfinder_client::get_step_cost ( Tile_coord  from,
Tile_coord to 
) [virtual]

Reimplemented from Actor_pathfinder_client.

Definition at line 283 of file paths.cc.

References Actor_pathfinder_client::get_step_cost(), Tile_coord::tx, and Tile_coord::ty.

Here is the call graph for this function:

int Offscreen_pathfinder_client::estimate_cost ( Tile_coord from,
Tile_coord to 
) [virtual]

Reimplemented from Actor_pathfinder_client.

Definition at line 307 of file paths.cc.

References Actor_pathfinder_client::estimate_cost(), Tile_coord::tx, Tile_coord::ty, and Tile_coord::tz.

Here is the call graph for this function:

int Offscreen_pathfinder_client::at_goal ( Tile_coord tile,
Tile_coord goal 
) [virtual]

Reimplemented from Actor_pathfinder_client.

Definition at line 336 of file paths.cc.

References Tile_coord::tx, Tile_coord::ty, and Tile_coord::tz.


Member Data Documentation

Rectangle Offscreen_pathfinder_client::screen [private]

Definition at line 75 of file paths.h.

Tile_coord Offscreen_pathfinder_client::best [private]

Definition at line 76 of file paths.h.


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