Game Class Reference

#include <game.h>

Inherits Module, VideoModule, and ConfigListener.

List of all members.

Public Member Functions

 Game ()
 ~Game ()
void Draw (SDL_Surface *screen)
bool Load ()
bool Unload ()
bool Update ()
void * AskFor (std::string data)
void GetSignal (std::string name)
void SettingChanged (std::string name)

Private Member Functions

void Input ()
void KiCalc ()
void NewRound ()
void Clear ()
void VSPlayerLogic ()
void VSCpuLogic ()

Private Attributes

ObjectManager m_manager
int m_p1points
int m_p2points


Constructor & Destructor Documentation

Game::Game (  )  [inline]

Game::~Game (  )  [inline]


Member Function Documentation

void Game::Draw ( SDL_Surface *  screen  )  [virtual]

Implements VideoModule.

bool Game::Load (  )  [virtual]

Called, when the module is loaded by the Resource Manager ( or another class)

Implements Module.

bool Game::Unload (  )  [virtual]

Called, when the module is to be updated the Resource Manager ( or another class)

Implements Module.

bool Game::Update (  )  [virtual]

Called, when the module is unloaded the Resource Manager ( or another class)

Implements Module.

void * Game::AskFor ( std::string  data  )  [virtual]

A Function that is called to become a specified pointer

Parameters:
data the key to specify what you want
Returns:
a void pointer to the asked data

Reimplemented from Module.

void Game::GetSignal ( std::string  name  )  [virtual]

Called, when a signal is sent to the module

Parameters:
name the name of the signal

Reimplemented from Module.

void Game::SettingChanged ( std::string  name  )  [inline, virtual]

Implements ConfigListener.

void Game::Input (  )  [private]

void Game::KiCalc (  )  [private]

void Game::NewRound (  )  [private]

void Game::Clear (  )  [private]

void Game::VSPlayerLogic (  )  [private]

void Game::VSCpuLogic (  )  [private]


Member Data Documentation

ObjectManager Game::m_manager [private]

int Game::m_p1points [private]

int Game::m_p2points [private]


The documentation for this class was generated from the following files:
Generated on Wed Feb 21 21:50:47 2007 for Minup by  doxygen 1.5.1-p1