1 #ifndef LEVEL_MANAGER_HPP
2 #define LEVEL_MANAGER_HPP
32 vector<vector<pair<Vector3D, BlockColor>>>
board;
40 Level(vector<vector<pair<Vector3D, BlockColor>>>
const &given,
int const &yoffset);
78 static unique_ptr<Level> Load(
const std::string &levelPath);
Definition: LevelManager.hpp:66
static ostream & operator<<(ostream &os, const Level &l)
Definition: LevelManager.cpp:9
vector< vector< pair< Vector3D, BlockColor > > > board
the board is a matrix of positions to color.
Definition: LevelManager.hpp:32
int yoffset
how far to shift the whole board down
Definition: LevelManager.hpp:33
Yellow tile.
Definition: LevelManager.hpp:24
Definition: LevelManager.hpp:30
Red tile.
Definition: LevelManager.hpp:23
Grey tile.
Definition: LevelManager.hpp:21
Purple tile.
Definition: LevelManager.hpp:22
Green tile.
Definition: LevelManager.hpp:20
Blue tile.
Definition: LevelManager.hpp:19
Empty space.
Definition: LevelManager.hpp:18
BlockColor
Definition: LevelManager.hpp:16