![]() |
Gamedev Framework (gf) 1.2.0
A C++17 framework for 2D games
|
A geometrical object. More...
#include <gf/Tmx.h>
Public Types | |
enum | Kind { Rectangle , Ellipse , Polyline , Polygon , Tile , Text , Point } |
The kind of object. More... | |
Public Member Functions | |
virtual | ~TmxObject () |
Destructor. More... | |
Public Attributes | |
Kind | kind |
The kind of the object. More... | |
TmxProperties | properties |
The properties of the object. More... | |
int | id |
The id of the object. More... | |
std::string | name |
The name of the object. More... | |
std::string | type |
The type of the object. More... | |
Vector2f | position |
The position of the object. More... | |
double | rotation |
The rotation of the object. More... | |
bool | visible |
The visibility of the object. More... | |
A geometrical object.
There are seven kinds of objects:
enum gf::TmxObject::Kind |
|
virtual |
Destructor.
int gf::TmxObject::id |
The id of the object.
Kind gf::TmxObject::kind |
The kind of the object.
std::string gf::TmxObject::name |
The name of the object.
Vector2f gf::TmxObject::position |
The position of the object.
TmxProperties gf::TmxObject::properties |
The properties of the object.
double gf::TmxObject::rotation |
The rotation of the object.
std::string gf::TmxObject::type |
The type of the object.
bool gf::TmxObject::visible |
The visibility of the object.