#include <npcoperations.h>
Definition at line 1235 of file npcoperations.h.
PerceptOperation::DelayedPerceptOperationGameEvent::DelayedPerceptOperationGameEvent |
( |
int |
offsetTicks, |
|
|
NPC * |
npc, |
|
|
Perception & |
pcpt, |
|
|
TargetType |
target, |
|
|
float |
maxRange |
|
) |
| |
virtual csString PerceptOperation::DelayedPerceptOperationGameEvent::ToString |
( |
| ) |
const |
|
virtual |
Return a string with information about the event.
Used for debugging to be able to identify things like way did this event take so long to execute.
TODO: Make this function abstract. But for now return "".
Reimplemented from psGameEvent.
virtual void PerceptOperation::DelayedPerceptOperationGameEvent::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.
float PerceptOperation::DelayedPerceptOperationGameEvent::maxRange |
|
protected |
NPC* PerceptOperation::DelayedPerceptOperationGameEvent::npc |
|
protected |
Perception PerceptOperation::DelayedPerceptOperationGameEvent::pcpt |
|
protected |
TargetType PerceptOperation::DelayedPerceptOperationGameEvent::target |
|
protected |
The documentation for this class was generated from the following file: