Arkanoid Remake  1.0
Public Member Functions | Public Attributes | List of all members
Level Class Reference

Game level: this class stores the initial configuration of a game. More...

#include <Level.h>

Public Member Functions

 Level (int index, unsigned int rows, unsigned int cols)
 Constructor: initialize the game level index and size.
 

Public Attributes

BlockMatrix mBlockMatrix
 Wall blocks configuration.
 
int mIndex
 Level index (identifier)
 
std::string mBackgroundScene
 Name of the image or scene to use as background.
 

Detailed Description

Game level: this class stores the initial configuration of a game.

A game level here is includes by the initial displacement of the wall blocks in a grid (see BlockMatrix) and a level identifier.


The documentation for this class was generated from the following file: