Planeshift
|
Moving entails a velocity vector and an animation action. More...
#include <npcoperations.h>
Public Member Functions | |
virtual OperationResult | Advance (float timedelta, NPC *npc) |
virtual void | InterruptOperation (NPC *npc) |
virtual bool | Load (iDocumentNode *node) |
virtual ScriptOperation * | MakeCopy () |
MoveOperation () | |
virtual OperationResult | Run (NPC *npc, bool interrupted) |
virtual | ~MoveOperation () |
Protected Member Functions | |
MoveOperation (const char *n) | |
Protected Attributes | |
csString | action |
float | angle |
float | duration |
float | remaining |
Moving entails a velocity vector and an animation action.
Definition at line 652 of file npcoperations.h.
MoveOperation::MoveOperation | ( | const char * | n | ) | [inline, protected] |
Definition at line 663 of file npcoperations.h.
MoveOperation::MoveOperation | ( | ) | [inline] |
Definition at line 671 of file npcoperations.h.
virtual MoveOperation::~MoveOperation | ( | ) | [inline, virtual] |
Definition at line 677 of file npcoperations.h.
virtual OperationResult MoveOperation::Advance | ( | float | timedelta, |
NPC * | npc | ||
) | [virtual] |
Reimplemented from ScriptOperation.
virtual void MoveOperation::InterruptOperation | ( | NPC * | npc | ) | [virtual] |
Reimplemented from ScriptOperation.
virtual bool MoveOperation::Load | ( | iDocumentNode * | node | ) | [virtual] |
Reimplemented from ScriptOperation.
Reimplemented in CircleOperation.
virtual ScriptOperation* MoveOperation::MakeCopy | ( | ) | [virtual] |
Implements ScriptOperation.
Reimplemented in CircleOperation.
virtual OperationResult MoveOperation::Run | ( | NPC * | npc, |
bool | interrupted | ||
) | [virtual] |
Implements ScriptOperation.
Reimplemented in CircleOperation.
csString MoveOperation::action [protected] |
Definition at line 655 of file npcoperations.h.
float MoveOperation::angle [protected] |
Definition at line 658 of file npcoperations.h.
float MoveOperation::duration [protected] |
Definition at line 656 of file npcoperations.h.
float MoveOperation::remaining [protected] |
Definition at line 661 of file npcoperations.h.