Sleep_schedule Class Reference

#include <schedule.h>

Inheritance diagram for Sleep_schedule:

Inheritance graph
[legend]
Collaboration diagram for Sleep_schedule:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Sleep_schedule (Actor *n)
virtual void now_what ()
virtual void ending (int newtype)
virtual void set_bed (Game_object *b)

Private Attributes

Tile_coord floorloc
Game_objectbed
int state
int spread0
int spread1

Detailed Description

Definition at line 300 of file schedule.h.


Constructor & Destructor Documentation

Sleep_schedule::Sleep_schedule ( Actor n  ) 

Definition at line 1132 of file schedule.cc.

References BLACK_GATE, and Game::get_game_type().

Here is the call graph for this function:


Member Function Documentation

void Sleep_schedule::now_what (  )  [virtual]

Implements Schedule.

Definition at line 1154 of file schedule.cc.

References Path_walking_actor_action::create_path(), GAME_BG, Exult_server::info, north, Exult_server::npc, Actor::sleep_frame, Stand_up(), Tile_coord::tx, Tile_coord::ty, Tile_coord::tz, and west.

Here is the call graph for this function:

void Sleep_schedule::ending ( int  newtype  )  [virtual]

Reimplemented from Schedule.

Definition at line 1243 of file schedule.cc.

References c_any_shapenum, Map_chunk::find_spot(), gwin, Exult_server::npc, Game_window::set_all_dirty(), Actor::sleep_frame, Actor::standing, and Tile_coord::tx.

Here is the call graph for this function:

virtual void Sleep_schedule::set_bed ( Game_object b  )  [inline, virtual]

Reimplemented from Schedule.

Definition at line 311 of file schedule.h.

References bed, and state.


Member Data Documentation

Tile_coord Sleep_schedule::floorloc [private]

Definition at line 302 of file schedule.h.

Game_object* Sleep_schedule::bed [private]

Definition at line 303 of file schedule.h.

Referenced by set_bed().

int Sleep_schedule::state [private]

Definition at line 304 of file schedule.h.

Referenced by set_bed().

int Sleep_schedule::spread0 [private]

Definition at line 305 of file schedule.h.

int Sleep_schedule::spread1 [private]

Definition at line 305 of file schedule.h.


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