tagGame::ControllerPeriodic Class Reference

Only calculate a new action periodically. More...

#include <ControllerPeriodic.h>

Inheritance diagram for tagGame::ControllerPeriodic:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ControllerPeriodic (PerceptionPtr perception, Real const period, ControllerPtr controller)
void setPeriod (Real const period)
Real getPeriod ()
void setController (ControllerPtr controller)
ControllerPtr getController ()
virtual void calcAction ()
 Calculate an action.

Protected Attributes

Real timeOfLastDecision
Real period
ControllerPtr controller

Detailed Description

Only calculate a new action periodically.


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