Planeshift
Public Member Functions | Protected Attributes

LoopEndOperation Class Reference

LoopEnd operation will jump back to the beginning of the loop. More...

#include <npcoperations.h>

List of all members.

Public Member Functions

virtual bool Load (iDocumentNode *node)
 LoopEndOperation (int which, int iterations)
virtual ScriptOperationMakeCopy ()
virtual OperationResult Run (NPC *npc, bool interrupted)
virtual ~LoopEndOperation ()

Protected Attributes

int current
int iterations
int loopback_op

Detailed Description

LoopEnd operation will jump back to the beginning of the loop.

Definition at line 1023 of file npcoperations.h.


Constructor & Destructor Documentation

LoopEndOperation::LoopEndOperation ( int  which,
int  iterations 
) [inline]

Definition at line 1032 of file npcoperations.h.

virtual LoopEndOperation::~LoopEndOperation ( ) [inline, virtual]

Definition at line 1038 of file npcoperations.h.


Member Function Documentation

virtual bool LoopEndOperation::Load ( iDocumentNode *  node) [virtual]

Reimplemented from ScriptOperation.

virtual ScriptOperation* LoopEndOperation::MakeCopy ( ) [virtual]

Implements ScriptOperation.

virtual OperationResult LoopEndOperation::Run ( NPC npc,
bool  interrupted 
) [virtual]

Implements ScriptOperation.


Member Data Documentation

Definition at line 1027 of file npcoperations.h.

Definition at line 1028 of file npcoperations.h.

Definition at line 1026 of file npcoperations.h.


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