LibCT 2.0
Public Types | Public Member Functions

LibCT::PhaseNode Class Reference

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>

Inheritance diagram for LibCT::PhaseNode:
LibCT::Node

List of all members.

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.

Detailed Description

A PhaseNode contains text that is presented to the user, and a list of ChoiceNodes for the user to choose from.


Member Enumeration Documentation

Enumerator:
EventsOnEnter 

Event to fire when the phase starts.

EventsOnExit 

Event to fire when the phase exits.


Constructor & Destructor Documentation

LibCT::PhaseNode::PhaseNode ( Node pParent,
const std::string &  text 
) [explicit]

Constructor.

LibCT::PhaseNode::~PhaseNode ( )

Destructor.


Member Function Documentation

void LibCT::PhaseNode::Activate ( )

Called when the phase is entered.

void LibCT::PhaseNode::Deactivate ( )

Called when the phase is exited.


The documentation for this class was generated from the following file: