Planeshift
Public Member Functions | Protected Attributes

WaitOperation Class Reference

Wait will simply set the mesh animation to something and sit there for the desired number of seconds. More...

#include <npcoperations.h>

List of all members.

Public Member Functions

virtual OperationResult Advance (float timedelta, NPC *npc)
virtual bool Load (iDocumentNode *node)
virtual ScriptOperationMakeCopy ()
virtual OperationResult Run (NPC *npc, bool interrupted)
 WaitOperation ()
virtual ~WaitOperation ()

Protected Attributes

csString action
csString duration
 The duration to wait before continue.
csString random
 A random duration to add to the duration.
float remaining

Detailed Description

Wait will simply set the mesh animation to something and sit there for the desired number of seconds.

Definition at line 1690 of file npcoperations.h.


Constructor & Destructor Documentation

WaitOperation::WaitOperation ( ) [inline]

Definition at line 1702 of file npcoperations.h.

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

Definition at line 1706 of file npcoperations.h.


Member Function Documentation

virtual OperationResult WaitOperation::Advance ( float  timedelta,
NPC npc 
) [virtual]

Reimplemented from ScriptOperation.

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

Reimplemented from ScriptOperation.

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

Implements ScriptOperation.

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

Implements ScriptOperation.


Member Data Documentation

csString WaitOperation::action [protected]

Definition at line 1695 of file npcoperations.h.

csString WaitOperation::duration [protected]

The duration to wait before continue.

Definition at line 1693 of file npcoperations.h.

csString WaitOperation::random [protected]

A random duration to add to the duration.

Definition at line 1694 of file npcoperations.h.

Definition at line 1698 of file npcoperations.h.


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