|
NasNas
An intuitive and beginner friendly 2D game framework for C++
|
Public Member Functions | |
| TilesetData (const pugi::xml_node &xml_node, const std::string &base_path) | |
| auto | getTexture () const -> const sf::Texture & |
| auto | getTileData (std::uint32_t id) const -> const TileData & |
| auto | getTileTexCoo (std::uint32_t id, Tile::Flip flip=Tile::Flip::None) const -> std::vector< sf::Vector2f > |
| auto | getTileTextureRect (std::uint32_t id) const -> ns::IntRect |
Public Member Functions inherited from ns::tm::PropertiesContainer | |
| 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 |
Additional Inherited Members | |
Protected Member Functions inherited from ns::tm::PropertiesContainer | |
| void | parseProperties (const pugi::xml_node &xmlnode_props) |
Definition at line 22 of file Tileset.hpp.
1.8.13