LibCT 2.0
|
A PhaseNode contains text that is presented to the user, and a list of ChoiceNodes for the user to choose from. More...
#include <PhaseNode.h>
Public Types | |
enum | Events { EventsOnEnter, EventsOnExit } |
Public Member Functions | |
PhaseNode (Node *pParent, const std::string &text) | |
Constructor. | |
~PhaseNode () | |
Destructor. | |
void | Activate () |
Called when the phase is entered. | |
void | Deactivate () |
Called when the phase is exited. |
A PhaseNode contains text that is presented to the user, and a list of ChoiceNodes for the user to choose from.
LibCT::PhaseNode::PhaseNode | ( | Node * | pParent, |
const std::string & | text | ||
) | [explicit] |
Constructor.
LibCT::PhaseNode::~PhaseNode | ( | ) |
Destructor.
void LibCT::PhaseNode::Activate | ( | ) |
Called when the phase is entered.
void LibCT::PhaseNode::Deactivate | ( | ) |
Called when the phase is exited.