![]() |
Gamedev Framework (gf) 1.2.0
A C++17 framework for 2D games
|
A polygon object. More...
#include <gf/Tmx.h>
Public Attributes | |
std::vector< Vector2f > | points |
The points of the polygon. More... | |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
enum | Kind { Rectangle , Ellipse , Polyline , Polygon , Tile , Text , Point } |
The kind of object. More... | |
![]() | |
virtual | ~TmxObject () |
Destructor. More... | |
A polygon object.
A polygon is a closed set of lines
std::vector<Vector2f> gf::TmxPolygon::points |
The points of the polygon.