Level

A structure to load the Tiled map into

Constructors

this
this(string path, int scale)

Load a Tiled map from a path in the filesystem

Members

Functions

destroy
void destroy()

Free all of the data in the map

Properties

fixedTileLayers
const(TileLayer[]) fixedTileLayers [@property getter]

Get the layers with tiles fixed to the grid

freeEntityLayers
const(EntityLayer[]) freeEntityLayers [@property getter]

Get the layers with entities that can be freely moved

images
const(Texture[]) images [@property getter]

Get the images used by the tiles and entities

Static variables

FLIPPED_DIAGONALLY_FLAG
auto FLIPPED_DIAGONALLY_FLAG;
Undocumented in source.
FLIPPED_HORIZONTALLY_FLAG
auto FLIPPED_HORIZONTALLY_FLAG;
Undocumented in source.
FLIPPED_VERTICALLY_FLAG
auto FLIPPED_VERTICALLY_FLAG;
heightInTiles
int heightInTiles;
tileHeight
int tileHeight;
Undocumented in source.

Variables

tileWidth
int tileWidth;
widthInTiles
int widthInTiles;
Undocumented in source.

Meta