Deep RTS
Public Member Functions | Public Attributes | List of all members
TilePropertyData Struct Reference

#include <ResourceLoader.h>

Public Member Functions

nlohmann::jsongetTileData (int tileID)
 

Public Attributes

std::unordered_map< int, std::string > tileID2Type
 
std::unordered_map< std::string, nlohmann::jsontileData
 

Detailed Description

The TilePropertyData class holds json data in memory. The data stems from the json maps.

Member Function Documentation

◆ getTileData()

nlohmann::json & TilePropertyData::getTileData ( int  tileID)
inline

Member Data Documentation

◆ tileData

std::unordered_map<std::string, nlohmann::json> TilePropertyData::tileData

◆ tileID2Type

std::unordered_map<int, std::string> TilePropertyData::tileID2Type

The documentation for this struct was generated from the following file: