Uranus  1.0.1.0
Uranus is a GameEngine written in C++
Loading...
Searching...
No Matches
tson::TiledClass Class Reference
Collaboration diagram for tson::TiledClass:
[legend]

Public Member Functions

 TiledClass (IJson &json, tson::Project *project=nullptr)
 
template<typename T >
get (const std::string &name)
 
uint32_t getId () const
 
tson::PropertygetMember (const std::string &name)
 
const PropertyCollectiongetMembers () const
 
const std::string & getName () const
 
const std::string & getType () const
 
void update (IJson &json)
 
void update (PropertyCollection &properties)
 

Private Attributes

uint32_t m_id {}
 
PropertyCollection m_members {}
 
std::string m_name {}
 
std::string m_type {}
 

Member Function Documentation

◆ update()

void tson::TiledClass::update ( IJson json)
inline

Takes a json object from a particular map top update values if they differ from the original values of the class

Parameters
json

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