Planeshift
|
When an NPC or mob is killed in the spawn manager, its respawn event is immediately created and added to the schedule to be triggered at the appropriate time. More...
#include <spawnmanager.h>
Public Member Functions | |
psDespawnGameEvent (SpawnManager *mgr, GEMSupervisor *gemSupervisor, int delayticks, gemObject *obj) | |
virtual void | Trigger () |
Abstract event processing function. | |
Protected Attributes | |
EID | entity |
GEMSupervisor * | gem |
SpawnManager * | spawnmanager |
When an NPC or mob is killed in the spawn manager, its respawn event is immediately created and added to the schedule to be triggered at the appropriate time.
Definition at line 424 of file spawnmanager.h.
psDespawnGameEvent::psDespawnGameEvent | ( | SpawnManager * | mgr, |
GEMSupervisor * | gemSupervisor, | ||
int | delayticks, | ||
gemObject * | obj | ||
) |
virtual void psDespawnGameEvent::Trigger | ( | ) | [virtual] |
Abstract event processing function.
This functino have to be overridden and will be called if CheckTrigger is ok at the time given in the constructor.
Implements psGameEvent.
EID psDespawnGameEvent::entity [protected] |
Definition at line 429 of file spawnmanager.h.
GEMSupervisor* psDespawnGameEvent::gem [protected] |
Definition at line 428 of file spawnmanager.h.
SpawnManager* psDespawnGameEvent::spawnmanager [protected] |
Definition at line 427 of file spawnmanager.h.