Gamedev Framework (gf)  0.12.0
A C++14 framework for 2D games
Public Attributes | List of all members
gf::TmxPolygon Struct Reference

A polygon object. More...

#include <gf/Tmx.h>

Inheritance diagram for gf::TmxPolygon:
Inheritance graph
[legend]

Public Attributes

std::vector< Vector2fpoints
 The points of the polygon. More...
 
- Public Attributes inherited from gf::TmxObject
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

- Public Types inherited from gf::TmxObject
enum  Kind {
  Rectangle,
  Ellipse,
  Polyline,
  Polygon,
  Tile,
  Text,
  Point
}
 The kind of object. More...
 
- Public Member Functions inherited from gf::TmxObject
virtual ~TmxObject ()
 Destructor. More...
 

Detailed Description

A polygon object.

A polygon is a closed set of lines

Member Data Documentation

◆ points

std::vector<Vector2f> gf::TmxPolygon::points

The points of the polygon.