|
Planeshift
|
Wait will simply set the mesh animation to something and sit there for the desired number of seconds. More...
#include <npcoperations.h>
Public Member Functions | |
| virtual OperationResult | Advance (float timedelta, NPC *npc) |
| virtual bool | Load (iDocumentNode *node) |
| virtual ScriptOperation * | MakeCopy () |
| 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 |
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.
| WaitOperation::WaitOperation | ( | ) | [inline] |
Definition at line 1702 of file npcoperations.h.
| virtual WaitOperation::~WaitOperation | ( | ) | [inline, virtual] |
Definition at line 1706 of file npcoperations.h.
| 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.
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.
float WaitOperation::remaining [protected] |
Definition at line 1698 of file npcoperations.h.
1.7.3