Planeshift
|
Navigate moves the NPC to the position and orientation of the last located thing. 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 () |
NavigateOperation () | |
virtual bool | UpdateEndPosition (NPC *npc, const csVector3 &myPos, const iSector *mySector, csVector3 &endPos, iSector *&endSector) |
virtual | ~NavigateOperation () |
Protected Member Functions | |
NavigateOperation (const NavigateOperation *other) | |
Protected Attributes | |
csString | action |
The animation used during chase. | |
float | endAngle |
The angle of the target. | |
csVector3 | endPos |
The end position of the target of the navigate. | |
iSector * | endSector |
The sector of the target of the navigate. | |
bool | forceEndPosition |
Navigate moves the NPC to the position and orientation of the last located thing.
(See LocateOperation)
Definition at line 1172 of file npcoperations.h.
NavigateOperation::NavigateOperation | ( | ) |
NavigateOperation::NavigateOperation | ( | const NavigateOperation * | other | ) | [protected] |
virtual NavigateOperation::~NavigateOperation | ( | ) | [inline, virtual] |
Definition at line 1188 of file npcoperations.h.
virtual bool NavigateOperation::GetEndPosition | ( | NPC * | npc, |
const csVector3 & | myPos, | ||
const iSector * | mySector, | ||
csVector3 & | endPos, | ||
iSector *& | endSector | ||
) | [virtual] |
Implements MovementOperation.
virtual bool NavigateOperation::Load | ( | iDocumentNode * | node | ) | [virtual] |
Reimplemented from MovementOperation.
virtual ScriptOperation* NavigateOperation::MakeCopy | ( | ) | [virtual] |
Implements ScriptOperation.
virtual bool NavigateOperation::UpdateEndPosition | ( | NPC * | npc, |
const csVector3 & | myPos, | ||
const iSector * | mySector, | ||
csVector3 & | endPos, | ||
iSector *& | endSector | ||
) | [virtual] |
Implements MovementOperation.
csString NavigateOperation::action [protected] |
The animation used during chase.
Reimplemented from MovementOperation.
Definition at line 1175 of file npcoperations.h.
float NavigateOperation::endAngle [protected] |
The angle of the target.
Definition at line 1178 of file npcoperations.h.
csVector3 NavigateOperation::endPos [protected] |
The end position of the target of the navigate.
Reimplemented from MovementOperation.
Definition at line 1180 of file npcoperations.h.
iSector* NavigateOperation::endSector [protected] |
The sector of the target of the navigate.
Reimplemented from MovementOperation.
Definition at line 1179 of file npcoperations.h.
bool NavigateOperation::forceEndPosition [protected] |
Definition at line 1176 of file npcoperations.h.