Planeshift
|
Moving to a spot entails a position vector, a linear velocity, and an animation action. More...
#include <npcoperations.h>
Public Member Functions | |
virtual bool | GetEndPosition (NPC *npc, const csVector3 &myPos, const iSector *mySector, csVector3 &endPos, iSector *&endSector) |
virtual bool | Load (iDocumentNode *node) |
virtual ScriptOperation * | MakeCopy () |
MoveToOperation () | |
MoveToOperation (const MoveToOperation *other) | |
virtual bool | UpdateEndPosition (NPC *npc, const csVector3 &myPos, const iSector *mySector, csVector3 &endPos, iSector *&endSector) |
virtual | ~MoveToOperation () |
Protected Attributes | |
csString | action |
The animation used during chase. | |
csVector3 | destPos |
iSector * | destSector |
csString | memoryCheck |
Used to keep memory name in case coordinates are taken from there. |
Moving to a spot entails a position vector, a linear velocity, and an animation action.
Definition at line 1143 of file npcoperations.h.
MoveToOperation::MoveToOperation | ( | ) |
MoveToOperation::MoveToOperation | ( | const MoveToOperation * | other | ) |
virtual MoveToOperation::~MoveToOperation | ( | ) | [inline, virtual] |
Definition at line 1154 of file npcoperations.h.
virtual bool MoveToOperation::GetEndPosition | ( | NPC * | npc, |
const csVector3 & | myPos, | ||
const iSector * | mySector, | ||
csVector3 & | endPos, | ||
iSector *& | endSector | ||
) | [virtual] |
Implements MovementOperation.
virtual bool MoveToOperation::Load | ( | iDocumentNode * | node | ) | [virtual] |
Reimplemented from MovementOperation.
virtual ScriptOperation* MoveToOperation::MakeCopy | ( | ) | [virtual] |
Implements ScriptOperation.
virtual bool MoveToOperation::UpdateEndPosition | ( | NPC * | npc, |
const csVector3 & | myPos, | ||
const iSector * | mySector, | ||
csVector3 & | endPos, | ||
iSector *& | endSector | ||
) | [virtual] |
Implements MovementOperation.
csString MoveToOperation::action [protected] |
The animation used during chase.
Reimplemented from MovementOperation.
Definition at line 1150 of file npcoperations.h.
csVector3 MoveToOperation::destPos [protected] |
Definition at line 1146 of file npcoperations.h.
iSector* MoveToOperation::destSector [protected] |
Definition at line 1147 of file npcoperations.h.
csString MoveToOperation::memoryCheck [protected] |
Used to keep memory name in case coordinates are taken from there.
Definition at line 1149 of file npcoperations.h.