29#include <tmxlite/Property.hpp>
51 std::vector<Property> properties;
60 bool load(
const std::string&);
74 const std::vector<Type>&
getTypes()
const {
return m_types; }
77 std::string m_workingDirectory;
78 std::vector<Type> m_types;
80 bool parseObjectTypesNode(
const pugi::xml_node&);
Parser for Tiled object types export format. Link to the specification: https://doc....
Definition ObjectTypes.hpp:41
const std::vector< Type > & getTypes() const
Returns all predefined types and their default values.
Definition ObjectTypes.hpp:74
bool loadFromString(const std::string &data, const std::string &workingDir)
Loads an object types from a document stored in a string.
bool load(const std::string &)
Attempts to parse the object types at the given location.
Contains the red, green, blue and alpha values of a colour in the range 0 - 255.
Definition Types.hpp:111
Types that stores all predefined properties for all objects of this type. To take less spaces,...
Definition ObjectTypes.hpp:48