AllegroFlare/Prototypes/MindDive/TunnelMeshTMJDataLoader
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> |
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() |
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
Visit CLUBCATT for cat shirts, cat mugs, cat puzzles, and more.