|
Uranus
1.0.1.0
Uranus is a GameEngine written in C++
|
Public Member Functions | |
| Project (const fs::path &path, std::unique_ptr< tson::IJson > jsonParser=std::make_unique< tson::Json11 >()) | |
| Project (std::unique_ptr< tson::IJson > jsonParser=std::make_unique< tson::Json11 >()) | |
| tson::TiledClass * | getClass (std::string_view name) |
| const ProjectData & | getData () const |
| tson::EnumDefinition * | getEnumDefinition (std::string_view name) |
| const std::vector< ProjectFolder > & | getFolders () const |
| const fs::path & | getPath () const |
| void | parse () |
| bool | parse (const fs::path &path) |
Private Member Functions | |
| void | parseJson (IJson &json) |
Private Attributes | |
| ProjectData | m_data |
| std::vector< ProjectFolder > | m_folders |
| std::unique_ptr< IJson > | m_json = nullptr |
| fs::path | m_path |
|
inline |
Parses preloaded json data. Only used during tests involving project jsons not actually read from files