Sit_schedule Class Reference

#include <schedule.h>

Inheritance diagram for Sit_schedule:

Inheritance graph
[legend]
Collaboration diagram for Sit_schedule:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Sit_schedule (Actor *n, Game_object *ch=0)
virtual void now_what ()

Static Public Member Functions

static bool is_occupied (Game_object *chairobj, Actor *actor)
static bool set_action (Actor *actor, Game_object *chairobj=0, int delay=0, Game_object **chair_found=0)

Private Attributes

Game_objectchair
bool sat
bool did_barge_usecode

Detailed Description

Definition at line 318 of file schedule.h.


Constructor & Destructor Documentation

Sit_schedule::Sit_schedule ( Actor n,
Game_object ch = 0 
)

Definition at line 1287 of file schedule.cc.


Member Function Documentation

void Sit_schedule::now_what (  )  [virtual]

Implements Schedule.

Definition at line 1299 of file schedule.cc.

References Usecode_machine::double_click, Game_window::get_main_actor(), Game_window::get_moving_barge(), Game_window::get_party(), gwin, Exult_server::npc, and Actor::sit_frame.

Here is the call graph for this function:

bool Sit_schedule::is_occupied ( Game_object chairobj,
Actor actor 
) [static]

Definition at line 1438 of file schedule.cc.

References Sit_actor_action::is_occupied().

Here is the call graph for this function:

bool Sit_schedule::set_action ( Actor actor,
Game_object chairobj = 0,
int  delay = 0,
Game_object **  chair_found = 0 
) [static]

Definition at line 1453 of file schedule.cc.

References Game_object::find_closest(), Sit_actor_action::get_sitloc(), and Sit_actor_action::is_occupied().

Referenced by Sew_schedule::now_what(), Lab_schedule::now_what(), Desk_schedule::now_what(), Patrol_schedule::now_what(), and Eat_at_inn_schedule::now_what().

Here is the call graph for this function:


Member Data Documentation

Game_object* Sit_schedule::chair [private]

Definition at line 320 of file schedule.h.

bool Sit_schedule::sat [private]

Definition at line 321 of file schedule.h.

bool Sit_schedule::did_barge_usecode [private]

Definition at line 322 of file schedule.h.


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