49 void Parse(
const tinyxml2::XMLNode *polygonNode);
58 std::vector< Tmx::Point > points;
const Tmx::Point & GetPoint(int index) const
Get one of the vertices.
Definition: TmxPolygon.h:52
Class to store a Polygon of an Object.
Definition: TmxPolygon.h:43
int GetNumPoints() const
Get the number of vertices.
Definition: TmxPolygon.h:55
Used to store a vertex of a Polygon/Polyline.
Definition: TmxPoint.h:35
void Parse(const tinyxml2::XMLNode *polygonNode)
Parse the polygon node.
Definition: TmxPolygon.cpp:40