tagGame::ControllerConditional Class Reference

If the condition is true use controllerTrue, otherwise use controllerFalse. More...

#include <ControllerConditional.h>

Inheritance diagram for tagGame::ControllerConditional:

Inheritance graph
[legend]
Collaboration diagram for tagGame::ControllerConditional:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ControllerConditional (PerceptionPtr perception, PerceptBool condition, ControllerPtr controllerTrue, ControllerPtr controllerFalse)
PerceptBool getCondition ()
ControllerPtr getControllerTrue ()
ControllerPtr getControllerFalse ()
void setCondition (PerceptBool condition)
void setControllerTrue (ControllerPtr controllerTrue)
void setControllerFalse (ControllerPtr controllerFalse)
virtual void calcAction ()
 Calculate an action.

Protected Attributes

PerceptBool condition
ControllerPtr controllerTrue
ControllerPtr controllerFalse

Detailed Description

If the condition is true use controllerTrue, otherwise use controllerFalse.


The documentation for this class was generated from the following files:
Generated on Sat Mar 31 22:30:58 2007 for tagGame by  doxygen 1.5.1