#include <level.hpp>
|
std::unordered_map< std::string, std::string > | _headers = {} |
|
std::vector< LevelZ::LevelObject > | _blocks = {} |
|
◆ Level2D() [1/4]
LevelZ::Level2D::Level2D |
( |
| ) |
|
|
inline |
Constructs a new, empty 2D Level.
◆ Level2D() [2/4]
LevelZ::Level2D::Level2D |
( |
const std::unordered_map< std::string, std::string > & | headers | ) |
|
|
inlineexplicit |
Constructs a new 2D Level with the specified headers.
- Parameters
-
headers | The headers of the level. |
◆ Level2D() [3/4]
LevelZ::Level2D::Level2D |
( |
const std::unordered_map< std::string, std::string > & | headers, |
|
|
const std::vector< LevelObject > & | blocks ) |
|
inline |
Constructs a new 2D Level with the specified headers and blocks.
- Parameters
-
headers | The headers of the level. |
blocks | The blocks of the level. |
◆ Level2D() [4/4]
LevelZ::Level2D::Level2D |
( |
const Level & | level | ) |
|
|
inlineexplicit |
Clones a 2D Level from an Abstract Level.
- Parameters
-
◆ scroll()
Scroll LevelZ::Level2D::scroll |
( |
| ) |
|
|
inline |
Gets the scroll direction of the level.
- Returns
- Scroll Direction
◆ spawn
The spawnpoint of the level.
The documentation for this struct was generated from the following file:
- /home/runner/work/cpp-bindings/cpp-bindings/include/levelz/level.hpp