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 |
Definition at line 55 of file npctime.cc.
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.
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:
uint32 Npc_hunger_timer::last_time [private] |