Level Class Reference

The class that represents a single BrickOut level. More...

#include <Game/Level.h>

Inherits BrickGroupListener.

List of all members.

Public Member Functions

void DrawGui ()
 Called by the app after all other level related drawing is done.
void PowerUpGrabbed (PowerUp &p, const PhysicsCollisionInfo &hitInfo)
 Called when a powerup is grabbed by the paddle.
virtual void BrickHit (BrickGroup &group, Brick &brick, const PhysicsCollisionInfo &hitInfo, int points)
 Called each time a brick is hit.

Detailed Description

The class that represents a single BrickOut level.


Member Function Documentation

void Level::BrickHit ( BrickGroup &  group,
Brick &  brick,
const PhysicsCollisionInfo &  hitInfo,
int  points 
) [virtual]

Called each time a brick is hit.

Parameters:
[in] group referance to the appropriate BrickGroup.
[in] brick referance to the Brick that was hit.
[in] info the collision information for the brick hit.
[in] points the number of points awarded for the hit.
void Level::PowerUpGrabbed ( PowerUp p,
const PhysicsCollisionInfo &  hitInfo 
)

Called when a powerup is grabbed by the paddle.

Parameters:
[in] p the powerup that was grabbed.
[in] hitInfo the hit information from the collision between the powerup and the paddle.

NOTE: Do not destroy the powerup in this function.


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