|
NasNas
An intuitive and beginner friendly 2D game framework for C++
|
Public Member Functions | |
| PointObject (const pugi::xml_node &xml_node, const sf::Color &color) | |
Public Member Functions inherited from ns::tm::ShapeObject< sf::CircleShape > | |
| ShapeObject (const pugi::xml_node &xml_node, const sf::Color &color) | |
| auto | getShape () const -> const sf::CircleShape & |
Public Member Functions inherited from ns::tm::Object | |
| Object (const pugi::xml_node &xml_node, Shape shape) | |
| auto | asPoint () -> PointObject & |
| auto | asRectangle () -> RectangleObject & |
| auto | asEllipse () -> EllipseObject & |
| auto | asPolyline () -> PolylineObject & |
| auto | asPolygon () -> PolygonObject & |
| auto | asTile () -> TileObject & |
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 | |
Public Types inherited from ns::tm::Object | |
| enum | Shape { Point, Rectangle, Ellipse, Polyline, Polygon, Tile } |
Public Attributes inherited from ns::tm::Object | |
| const unsigned | id |
| const std::string | name |
| const std::string | type |
| const float | x |
| const float | y |
| const float | rotation |
| const Shape | shapetype |
Protected Member Functions inherited from ns::tm::PropertiesContainer | |
| void | parseProperties (const pugi::xml_node &xmlnode_props) |
Protected Attributes inherited from ns::tm::ShapeObject< sf::CircleShape > | |
| sf::CircleShape | m_shape |
Definition at line 72 of file Object.hpp.
1.8.13