Planeshift
Public Member Functions | Public Attributes

psSpellCastGameEvent Class Reference

This event actually triggers a spell, after the casting wait time. More...

#include <psspell.h>

List of all members.

Public Member Functions

virtual void DeleteObjectCallback (iDeleteNotificationObject *object)
void Interrupt ()
 psSpellCastGameEvent (const psSpell *spell, gemActor *caster, gemObject *target, csTicks castingDuration, float max_range, float kFactor, float power, Client *client)
virtual void Trigger ()
 Abstract event processing function.
 ~psSpellCastGameEvent ()

Public Attributes

gemActorcaster
 Entity who casting this spell.
Clientclient
 The client that cast the spell, NULL if superclient.
csTicks duration
float kFactor
float max_range
float powerLevel
const psSpellspell
 The spell that is cast.
gemObjecttarget
 Entity who is target of this spell.

Detailed Description

This event actually triggers a spell, after the casting wait time.

Definition at line 202 of file psspell.h.


Constructor & Destructor Documentation

psSpellCastGameEvent::psSpellCastGameEvent ( const psSpell spell,
gemActor caster,
gemObject target,
csTicks  castingDuration,
float  max_range,
float  kFactor,
float  power,
Client client 
)
psSpellCastGameEvent::~psSpellCastGameEvent ( )

Member Function Documentation

virtual void psSpellCastGameEvent::DeleteObjectCallback ( iDeleteNotificationObject object) [virtual]

Implements iDeleteObjectCallback.

void psSpellCastGameEvent::Interrupt ( )
virtual void psSpellCastGameEvent::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

Entity who casting this spell.

Definition at line 205 of file psspell.h.

The client that cast the spell, NULL if superclient.

Definition at line 207 of file psspell.h.

Definition at line 213 of file psspell.h.

Definition at line 211 of file psspell.h.

Definition at line 210 of file psspell.h.

Definition at line 212 of file psspell.h.

The spell that is cast.

Definition at line 208 of file psspell.h.

Entity who is target of this spell.

Definition at line 206 of file psspell.h.


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