|
NasNas
An intuitive and beginner friendly 2D game framework for C++
|
Public Member Functions | |
| ImageLayer (const pugi::xml_node &xml_node, TiledMap *tiledmap) | |
| auto | getTexture () const -> const sf::Texture & |
| auto | getSize () const -> sf::Vector2i |
Public Member Functions inherited from ns::tm::Layer | |
| Layer (const pugi::xml_node &xml_node, TiledMap *tiledmap) | |
| auto | getId () const -> unsigned int |
| auto | getName () const -> const std::string & |
| auto | isVisible () const -> bool |
| void | setVisible (bool value) |
| auto | getOffset () const -> const sf::Vector2f & |
| auto | getTotalOffset () const -> sf::Vector2f |
| auto | getParallaxFactor () const -> const sf::Vector2f & |
| auto | getTotalParallaxFactor () const -> sf::Vector2f |
| auto | getTintColor () const -> const sf::Color & |
| virtual auto | getGlobalBounds () const -> ns::FloatRect |
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) |
Protected Attributes inherited from ns::tm::Layer | |
| const TiledMap * | m_tiledmap = nullptr |
| const GroupLayer * | m_parent_group = nullptr |
Definition at line 15 of file ImageLayer.hpp.
1.8.13