This object contains all the data for a level and provides functions for loading and unloading a level.
More...
|
ska::bytell_hash_map< uint16_t, std::vector< ST::key > > | actions_buttons {} |
|
std::vector< ST::entity > | entities {} |
|
std::vector< ST::light > | lights {} |
|
std::vector< ST::text > | text_objects {} |
|
uint16_t | background [PARALLAX_BG_LAYERS] = {65535, 65535, 65535, 65535} |
|
uint8_t | parallax_speed [PARALLAX_BG_LAYERS] = {0, 0, 0, 0} |
|
SDL_Color | background_color {0, 0, 0, 0} |
|
uint16_t | overlay = 65535 |
|
uint8_t | overlay_sprite_num = 1 |
|
uint32_t | physics_objects_count = 0 |
|
ST::camera | camera = {0, 0, -1, 1920, 0, 1080} |
|
This object contains all the data for a level and provides functions for loading and unloading a level.
Sends messages to load assets and loads the input configuration from disk.
Definition at line 29 of file level.hpp.