Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

Controller Class Reference

Controls a character. More...

#include <Controller.h>

Inheritance diagram for Controller:

KeyboardController List of all members.

Public Methods

 Controller ()
 Default constructor.

 Controller (Character *c)
 Constructor.

 ~Controller ()
 Destructor.

virtual void control (float dt)=0
 Control the character attached to this controller.


Protected Attributes

Charactercharacter
 The character to control.


Detailed Description

Controls a character.


Constructor & Destructor Documentation

Controller::Controller  
 

Default constructor.

Authors: Jim Clase, Jonathan Hilliker, Jason Winnebeck

Controller::Controller Character   c
 

Constructor.

Parameters:
c  the character to control

Controller::~Controller  
 

Destructor.


Member Function Documentation

virtual void Controller::control float    dt [pure virtual]
 

Control the character attached to this controller.

Parameters:
dt  the amount of time since the last frame

Implemented in KeyboardController.


Member Data Documentation

Character* Controller::character [protected]
 

The character to control.


The documentation for this class was generated from the following files:
Generated on Tue Mar 4 02:29:26 2003 for SuperIsoBomb by doxygen1.2.18