libtmx  0.4.0
an C++11 library for reading TMX files
Classes | Enumerations
tmx Namespace Reference

The namespace for all libtmx classes. More...

Classes

struct  Adaptor
 An adaptor to get raw pointer from a unique pointer. More...
 
class  Boxed
 A boxed object is a geometrical object that is defined by a box. More...
 
class  Cell
 A cell is a square on a map layer that is filled with a tile. More...
 
class  Chain
 A chain is a base class for lines with multiple points. More...
 
class  Component
 A base class for classes that have properties. More...
 
class  Ellipse
 An ellipse is a geometrical object. More...
 
class  Image
 An image is an image file on the system. More...
 
class  ImageLayer
 An image layer is a layer with a single image. More...
 
class  Layer
 A layer is a layer in the whole map. More...
 
class  LayerVisitor
 A layer visitor is a visitor for layers in the visitor pattern. More...
 
class  Map
 A map is a set of tilesets and a set of different layers. More...
 
class  Object
 An object is a geometrical object. More...
 
class  ObjectLayer
 An object layer is a layers composed of objects. More...
 
class  Polygon
 A polygon is a closed set of lines. More...
 
class  Polyline
 A polyline is an open set of lines. More...
 
struct  Rect
 A rectangle representing the portion of an image. More...
 
class  Rectangle
 A rectangle is a geometrical object. More...
 
struct  Size
 A size of an image. More...
 
class  Terrain
 A terrain describes a kind of terrain on the map. More...
 
class  Tile
 A tile is a rectangular part of a tileset. More...
 
class  TileLayer
 A tile layer is a layer with tiles in cells. More...
 
class  TileObject
 A tile object is an image put in the map. More...
 
class  TileSet
 A tileset is a set of tiles in a single file (image or TSX file). More...
 
struct  Vector2i
 A vector of signed integers. More...
 
struct  Vector2u
 A vector of unsigned integers. More...
 

Enumerations

enum  Orientation {
  Orientation::UNKNOWN,
  Orientation::ORTHOGONAL,
  Orientation::ISOMETRIC,
  Orientation::STAGGERED,
  Orientation::HEXAGONAL
}
 the orientation of the map. More...
 
enum  StaggerIndex {
  StaggerIndex::ODD,
  StaggerIndex::EVEN
}
 Stagger index of the hexagonal map. More...
 
enum  StaggerAxis {
  StaggerAxis::X,
  StaggerAxis::Y
}
 Stagger axis of the hexagonal map. More...
 
enum  RenderOrder {
  RenderOrder::RIGHT_DOWN,
  RenderOrder::RIGHT_UP,
  RenderOrder::LEFT_DOWN,
  RenderOrder::LEFT_UP
}
 the render order of the tiles. More...
 
enum  DrawOrder {
  DrawOrder::TOP_DOWN,
  DrawOrder::INDEX
}
 the order in which the objects should be drawn. More...
 

Detailed Description

The namespace for all libtmx classes.

Enumeration Type Documentation

enum tmx::DrawOrder
strong

the order in which the objects should be drawn.

Enumerator
TOP_DOWN 

Top-down order (default)

INDEX 

Index order

enum tmx::Orientation
strong

the orientation of the map.

Enumerator
UNKNOWN 

Unknown orientation

ORTHOGONAL 

Orthogonal orientation

ISOMETRIC 

Isometric orientation

STAGGERED 

Staggered orientation

HEXAGONAL 

Hexagonal orientation

enum tmx::RenderOrder
strong

the render order of the tiles.

Enumerator
RIGHT_DOWN 

Right down order

RIGHT_UP 

Right up order

LEFT_DOWN 

Left down order

LEFT_UP 

Left up order

enum tmx::StaggerAxis
strong

Stagger axis of the hexagonal map.

Enumerator
enum tmx::StaggerIndex
strong

Stagger index of the hexagonal map.

Enumerator
ODD 
EVEN