Walk_to_schedule Class Reference

#include <schedule.h>

Inheritance diagram for Walk_to_schedule:

Inheritance graph
[legend]
Collaboration diagram for Walk_to_schedule:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 495 of file schedule.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Reimplemented from Schedule.

Definition at line 3249 of file schedule.cc.


Member Data Documentation

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.


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