LevelListener Class Reference

base class for listening to level events. More...

#include <Game/Level.h>

Inherited by BrickOutGame [private].

List of all members.

Public Member Functions

virtual bool BallLost (Level &level)=0
 Called when a ball is lost.
virtual void ExtraBall (Level &level)=0
 Called when an extra ball is aquired.
virtual void ScoreIncrease (Level &level, int score)=0
 Called when the user earns some points.

Detailed Description

base class for listening to level events.


Member Function Documentation

virtual bool LevelListener::BallLost ( Level level  )  [pure virtual]

Called when a ball is lost.

Parameters:
[in] level referance to the level that called the method.
Returns:
True if you wish to have another ball spawned. Return false to not have another ball spawned.

Implemented in BrickOutGame.

virtual void LevelListener::ExtraBall ( Level level  )  [pure virtual]

Called when an extra ball is aquired.

Parameters:
[in] level referance to the level that called the method.

Implemented in BrickOutGame.

virtual void LevelListener::ScoreIncrease ( Level level,
int  score 
) [pure virtual]

Called when the user earns some points.

Parameters:
[in] level referance to the level that called the method.
[in] score the score that the user aquired.

Implemented in BrickOutGame.


The documentation for this class was generated from the following file:
Generated on Mon Apr 5 19:08:06 2010 for BrickOut |ReDuX| by  doxygen 1.6.3