#include <schedule.h>
Inheritance diagram for Sit_schedule:
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_object * | chair |
bool | sat |
bool | did_barge_usecode |
Definition at line 318 of file schedule.h.
Sit_schedule::Sit_schedule | ( | Actor * | n, | |
Game_object * | ch = 0 | |||
) |
Definition at line 1287 of file schedule.cc.
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:
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.