|
SDL Breakout Engine
0.1.0
An implementation of a Breakout game using sdl, implemented with efficient resource management.
|
#include <LevelManager.hpp>
Public Member Functions | |
| Level (vector< vector< pair< Vector3D, BlockColor >>> const &given, int const &yoffset) | |
Public Attributes | |
| vector< vector< pair< Vector3D, BlockColor > > > | board |
| the board is a matrix of positions to color. More... | |
| int | yoffset |
| how far to shift the whole board down More... | |
Represents a breakout level.
| Level::Level | ( | vector< vector< pair< Vector3D, BlockColor >>> const & | given, |
| int const & | yoffset | ||
| ) |
Sets data fields.
| given | the board layout |
| yoffset | how far to shift the board down |
| vector<vector<pair<Vector3D, BlockColor> > > Level::board |
the board is a matrix of positions to color.
| int Level::yoffset |
how far to shift the whole board down
1.4.1