Npc_hunger_timer Class Reference

Inheritance diagram for Npc_hunger_timer:

Inheritance graph
[legend]
Collaboration diagram for Npc_hunger_timer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Npc_hunger_timer (Npc_timer_list *l)
virtual ~Npc_hunger_timer ()
void handle_event (unsigned long curtime, long udata)

Private Attributes

uint32 last_time

Detailed Description

Definition at line 55 of file npctime.cc.


Constructor & Destructor Documentation

Npc_hunger_timer::Npc_hunger_timer ( Npc_timer_list l  )  [inline]

Definition at line 59 of file npctime.cc.

References Npc_timer::get_minute(), and last_time.

Here is the call graph for this function:

Npc_hunger_timer::~Npc_hunger_timer (  )  [virtual]

Definition at line 318 of file npctime.cc.


Member Function Documentation

void Npc_hunger_timer::handle_event ( unsigned long  curtime,
long  udata 
) [virtual]

Implements Time_sensitive.

Definition at line 329 of file npctime.cc.

References Time_queue::add(), first_starving, Actor::food_level, Game_window::get_tqueue(), gwin, and Exult_server::npc.

Here is the call graph for this function:


Member Data Documentation

uint32 Npc_hunger_timer::last_time [private]

Definition at line 57 of file npctime.cc.

Referenced by Npc_hunger_timer().


The documentation for this class was generated from the following file:
Generated on Mon Jul 9 14:59:42 2007 for ExultEngine by  doxygen 1.5.1