Hosting courtesy of Sourceforge

SourceForge Logo
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Game::PlayerController Class Reference

#include <PlayerController.h>

Inheritance diagram for Game::PlayerController:

Inheritance graph
[legend]
Collaboration diagram for Game::PlayerController:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual bool actionIsEnabled (PlayerAction action)=0

Detailed Description

Base class for controllers... things that control input from LocalPlayer.

Definition at line 39 of file PlayerController.h.


Constructor & Destructor Documentation

virtual Game::PlayerController::~PlayerController   [virtual]
 

Definition at line 46 of file PlayerController.h.


Member Function Documentation

virtual bool Game::PlayerController::actionIsEnabled PlayerAction    p [pure virtual]
 

Determines whether or not the button corresponding to a certain action is pressed

Parameters:
action  PlayerAction in question
Returns:
true if the key/button corresponding to the action is pressed, else false

Reimplemented in Game::KeyboardController, and Game::JoystickController.


The documentation for this class was generated from the following file:
Generated on Tue May 21 07:26:54 2002 for BomberLAN by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001