Planeshift
Public Member Functions | Protected Attributes

MovePathOperation Class Reference

MovePath specifies the name of a path and an animation action. More...

#include <npcoperations.h>

List of all members.

Public Member Functions

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

Protected Attributes

psPathAnchoranchor
csString anim
psPath::Direction direction
psPathpath
csString pathname

Detailed Description

MovePath specifies the name of a path and an animation action.

Definition at line 1110 of file npcoperations.h.


Constructor & Destructor Documentation

MovePathOperation::MovePathOperation ( ) [inline]

Definition at line 1124 of file npcoperations.h.

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

Definition at line 1125 of file npcoperations.h.


Member Function Documentation

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

Reimplemented from ScriptOperation.

virtual void MovePathOperation::InterruptOperation ( NPC npc) [virtual]

Reimplemented from ScriptOperation.

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

Reimplemented from ScriptOperation.

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

Implements ScriptOperation.

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

Implements ScriptOperation.


Member Data Documentation

Definition at line 1120 of file npcoperations.h.

csString MovePathOperation::anim [protected]

Definition at line 1114 of file npcoperations.h.

Definition at line 1116 of file npcoperations.h.

Definition at line 1119 of file npcoperations.h.

csString MovePathOperation::pathname [protected]

Definition at line 1115 of file npcoperations.h.


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