Planeshift
Public Member Functions | Protected Attributes

PerceptOperation::DelayedPerceptOperationGameEvent Class Reference

#include <npcoperations.h>

List of all members.

Public Member Functions

 DelayedPerceptOperationGameEvent (int offsetTicks, NPC *npc, Perception &pcpt, TargetType target, float maxRange)
virtual csString ToString () const
 Return a string with information about the event.
virtual void Trigger ()
 Abstract event processing function.

Protected Attributes

float maxRange
NPCnpc
Perception pcpt
TargetType target

Detailed Description

Definition at line 1235 of file npcoperations.h.


Constructor & Destructor Documentation

PerceptOperation::DelayedPerceptOperationGameEvent::DelayedPerceptOperationGameEvent ( int  offsetTicks,
NPC npc,
Perception pcpt,
TargetType  target,
float  maxRange 
)

Member Function Documentation

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.


Member Data Documentation

Definition at line 1241 of file npcoperations.h.

Definition at line 1238 of file npcoperations.h.

Definition at line 1239 of file npcoperations.h.

Definition at line 1240 of file npcoperations.h.


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