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

KeyboardController Class Reference

A controller that uses input received from the keyboard to control a character. More...

#include <KeyboardController.h>

Inheritance diagram for KeyboardController:

Controller List of all members.

Public Methods

 KeyboardController ()
 Default constructor.

 KeyboardController (Character *c, const KeyboardSettings &ks)
 Constructor.

 ~KeyboardController ()
 Destructor.

virtual void control (float dt)
 Control the attached character.


Detailed Description

A controller that uses input received from the keyboard to control a character.


Constructor & Destructor Documentation

KeyboardController::KeyboardController  
 

Default constructor.

Authors: Jim Clase, Jonathan Hilliker, Jason Winnebeck

KeyboardController::KeyboardController Character   c,
const KeyboardSettings   ks
 

Constructor.

Parameters:
c  the character to control
ks  the keyboard settings to use

KeyboardController::~KeyboardController  
 

Destructor.


Member Function Documentation

void KeyboardController::control float    dt [virtual]
 

Control the attached character.

Parameters:
dt  the amount of time since the last frame

Implements Controller.


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