NasNas
An intuitive and beginner friendly 2D game framework for C++
Public Member Functions | Protected Member Functions | List of all members
ns::tm::PropertiesContainer Class Reference
Inheritance diagram for ns::tm::PropertiesContainer:
ns::tm::Layer ns::tm::Object ns::tm::TileData ns::tm::TiledMap ns::tm::TilesetData ns::tm::GroupLayer ns::tm::ImageLayer ns::tm::ObjectLayer ns::tm::TileLayer ns::tm::ShapeObject< T > ns::tm::ShapeObject< ns::EllipseShape > ns::tm::ShapeObject< ns::LineShape > ns::tm::ShapeObject< sf::CircleShape > ns::tm::ShapeObject< sf::ConvexShape > ns::tm::ShapeObject< sf::RectangleShape > ns::tm::ShapeObject< sf::Sprite >

Public Member Functions

auto hasProperty (const std::string &name) const -> bool
 
template<typename T >
auto getProperty (const std::string &name) const -> const T &
 
template<typename T >
void addProperty (const std::string &name, const T &value)
 
void printProperties () const
 

Protected Member Functions

void parseProperties (const pugi::xml_node &xmlnode_props)
 

Detailed Description

Definition at line 26 of file PropertiesContainer.hpp.


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