Planeshift
|
Let the NPC cast a spell. More...
#include <npcoperations.h>
Public Member Functions | |
CastOperation () | |
virtual bool | Load (iDocumentNode *node) |
virtual ScriptOperation * | MakeCopy () |
virtual OperationResult | Run (NPC *npc, bool interrupted) |
virtual | ~CastOperation () |
Protected Member Functions | |
CastOperation (const CastOperation *other) | |
Constructor for this operation, used by the MakeCopy. | |
Protected Attributes | |
csString | kFactor |
csString | spell |
Let the NPC cast a spell.
Definition at line 420 of file npcoperations.h.
CastOperation::CastOperation | ( | const CastOperation * | other | ) | [protected] |
Constructor for this operation, used by the MakeCopy.
This constructor will copy all the Operation Parameters from the other operation and initialize all Instance Variables to default values.
CastOperation::CastOperation | ( | ) |
virtual CastOperation::~CastOperation | ( | ) | [inline, virtual] |
Definition at line 436 of file npcoperations.h.
virtual bool CastOperation::Load | ( | iDocumentNode * | node | ) | [virtual] |
Reimplemented from ScriptOperation.
virtual ScriptOperation* CastOperation::MakeCopy | ( | ) | [virtual] |
Implements ScriptOperation.
virtual OperationResult CastOperation::Run | ( | NPC * | npc, |
bool | interrupted | ||
) | [virtual] |
Implements ScriptOperation.
csString CastOperation::kFactor [protected] |
Definition at line 424 of file npcoperations.h.
csString CastOperation::spell [protected] |
Definition at line 423 of file npcoperations.h.