Arkanoid Remake
1.0
|
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. | |
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.