AllegroFlare/Prototypes/TileDrive/TerrainMeshTMJDataLoader
view source (cpp, hpp, quintessence) • view tests (test file)
Properties
| filename |
std::string |
| num_columns |
int |
| num_rows |
int |
| tile_width |
int |
| tile_height |
int |
| layer_num_columns |
int |
| layer_num_rows |
int |
| layer_tile_data |
std::vector<int> |
| collision_layer_tile_data |
std::vector<int> |
| collision_layer_present |
bool |
| loaded |
bool |
Methods
| get_num_columns() |
| get_num_rows() |
| get_tile_width() |
| get_tile_height() |
| get_layer_num_columns() |
| get_layer_num_rows() |
| get_layer_tile_data() |
| get_collision_layer_tile_data() |
| get_collision_layer_present() |
| load() |
| file_exists(std::string filename="[unset-filename]") |
Dependencies
| {"symbol"=>"std::ifstream", "headers"=>["fstream"]} |
| {"symbol"=>"nlohmann::json", "headers"=>["lib/nlohmann/json.hpp"]} |
| {"symbol"=>"std::filesystem::exists", "headers"=>["filesystem"]} |
Sponsor
Get the best designed cat shirts at clubatt.com