Tileson 1.4.0
A helpful json parser for Tiled maps
Loading...
Searching...
No Matches
Public Member Functions | List of all members
tson::ProjectFolder Class Reference

#include <ProjectFolder.hpp>

Public Member Functions

 ProjectFolder (const fs::path &path)
 
const fs::path & getPath () const
 
bool hasWorldFile () const
 
const std::vector< ProjectFolder > & getSubFolders () const
 
const std::vector< fs::path > & getFiles () const
 
const WorldgetWorld () const
 

Constructor & Destructor Documentation

◆ ProjectFolder()

tson::ProjectFolder::ProjectFolder ( const fs::path &  path)
inline

Member Function Documentation

◆ getFiles()

const std::vector< fs::path > & tson::ProjectFolder::getFiles ( ) const
inline

◆ getPath()

const fs::path & tson::ProjectFolder::getPath ( ) const
inline

◆ getSubFolders()

const std::vector< ProjectFolder > & tson::ProjectFolder::getSubFolders ( ) const
inline

◆ getWorld()

const World & tson::ProjectFolder::getWorld ( ) const
inline

Only gives useful data if hasWorldFile() is true!

Returns

◆ hasWorldFile()

bool tson::ProjectFolder::hasWorldFile ( ) const
inline

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