|
Planeshift
|
Let the NPC change brain. More...
#include <npcoperations.h>
Public Member Functions | |
| ChangeBrainOperation () | |
| virtual bool | Load (iDocumentNode *node) |
| virtual ScriptOperation * | MakeCopy () |
| virtual OperationResult | Run (NPC *npc, bool interrupted) |
| virtual | ~ChangeBrainOperation () |
Protected Member Functions | |
| ChangeBrainOperation (const ChangeBrainOperation *other) | |
| Constructor for this operation, used by the MakeCopy. | |
Protected Attributes | |
| csString | brain |
Let the NPC change brain.
Definition at line 447 of file npcoperations.h.
| ChangeBrainOperation::ChangeBrainOperation | ( | const ChangeBrainOperation * | other | ) | [protected] |
Constructor for this operation, used by the MakeCopy.
This constructor will copy all the Operation Parameters from the other operation and initialize all Instance Variables to default values.
| ChangeBrainOperation::ChangeBrainOperation | ( | ) |
| virtual ChangeBrainOperation::~ChangeBrainOperation | ( | ) | [inline, virtual] |
Definition at line 462 of file npcoperations.h.
| virtual bool ChangeBrainOperation::Load | ( | iDocumentNode * | node | ) | [virtual] |
Reimplemented from ScriptOperation.
| virtual ScriptOperation* ChangeBrainOperation::MakeCopy | ( | ) | [virtual] |
Implements ScriptOperation.
| virtual OperationResult ChangeBrainOperation::Run | ( | NPC * | npc, |
| bool | interrupted | ||
| ) | [virtual] |
Implements ScriptOperation.
csString ChangeBrainOperation::brain [protected] |
Definition at line 450 of file npcoperations.h.
1.7.3