#include <paths.h>
Inheritance diagram for Offscreen_pathfinder_client:
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 |
Definition at line 73 of file paths.h.
Offscreen_pathfinder_client::Offscreen_pathfinder_client | ( | Actor * | n | ) |
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:
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.
Rectangle Offscreen_pathfinder_client::screen [private] |
Tile_coord Offscreen_pathfinder_client::best [private] |