Planeshift
Public Member Functions | Protected Attributes

psDespawnGameEvent Class Reference

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>

List of all members.

Public Member Functions

 psDespawnGameEvent (SpawnManager *mgr, GEMSupervisor *gemSupervisor, int delayticks, gemObject *obj)
virtual void Trigger ()
 Abstract event processing function.

Protected Attributes

EID entity
GEMSupervisorgem
SpawnManagerspawnmanager

Detailed Description

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.


Constructor & Destructor Documentation

psDespawnGameEvent::psDespawnGameEvent ( SpawnManager mgr,
GEMSupervisor gemSupervisor,
int  delayticks,
gemObject obj 
)

Member Function Documentation

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.


Member Data Documentation

EID psDespawnGameEvent::entity [protected]

Definition at line 429 of file spawnmanager.h.

Definition at line 428 of file spawnmanager.h.

Definition at line 427 of file spawnmanager.h.


The documentation for this class was generated from the following file: