#include <schedule.h>
Inheritance diagram for Walk_to_schedule:
Public Member Functions | |
Walk_to_schedule (Actor *n, Tile_coord d, int new_sched, int delay=-1) | |
virtual void | now_what () |
virtual void | im_dormant () |
virtual int | get_actual_type (Actor *npc) |
Private Member Functions | |
void | walk_off_screen (Rectangle &screen, Tile_coord &goal) |
Private Attributes | |
Tile_coord | dest |
int | first_delay |
int | new_schedule |
int | retries |
int | legs |
Definition at line 495 of file schedule.h.
Walk_to_schedule::Walk_to_schedule | ( | Actor * | n, | |
Tile_coord | d, | |||
int | new_sched, | |||
int | delay = -1 | |||
) |
Definition at line 3156 of file schedule.cc.
void Walk_to_schedule::walk_off_screen | ( | Rectangle & | screen, | |
Tile_coord & | goal | |||
) | [private] |
Definition at line 3122 of file schedule.cc.
References Rectangle::h, Tile_coord::tx, Tile_coord::ty, Rectangle::w, Rectangle::x, and Rectangle::y.
void Walk_to_schedule::now_what | ( | ) | [virtual] |
Implements Schedule.
Definition at line 3172 of file schedule.cc.
References Tile_coord::distance(), Rectangle::enlarge(), Game_window::get_std_delay(), Game_window::get_win_tile_rect(), gwin, Rectangle::has_point(), Exult_server::npc, Tile_coord::tx, Tile_coord::ty, and Tile_coord::tz.
Referenced by im_dormant().
Here is the call graph for this function:
void Walk_to_schedule::im_dormant | ( | ) | [virtual] |
Reimplemented from Schedule.
Definition at line 3238 of file schedule.cc.
References now_what().
Here is the call graph for this function:
int Walk_to_schedule::get_actual_type | ( | Actor * | npc | ) | [virtual] |
Tile_coord Walk_to_schedule::dest [private] |
Definition at line 497 of file schedule.h.
int Walk_to_schedule::first_delay [private] |
Definition at line 498 of file schedule.h.
int Walk_to_schedule::new_schedule [private] |
Definition at line 499 of file schedule.h.
int Walk_to_schedule::retries [private] |
Definition at line 500 of file schedule.h.
int Walk_to_schedule::legs [private] |
Definition at line 501 of file schedule.h.