Class TTiledMap
Unit
CastleTiledMap
Declaration
type TTiledMap = class(TObject)
Description
Loading and manipulating "Tiled" map files (http://mapeditor.org). Based on Tiled version 0.14.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
constructor Create(AURL: string); |
Constructor.
Parameters
- AURL
- URL to Tiled (TMX) file.
|
 |
destructor Destroy; override; |
|
 |
function GIDToTileset(const AGID: Cardinal): PTileSet; |
Returns the pointer to tileset that contains the global ID.
|
Properties
 |
property Layers: TLayers read FLayers; |
|
 |
property Orientation: TMapOrientation read FOrientation; |
Map orientation. Tiled supports "orthogonal", "isometric" and "staggered" (since 0.9) at the moment.
|
 |
property Width: Cardinal read FWidth; |
The map width in tiles.
|
 |
property Height: Cardinal read FHeight; |
The map height in tiles.
|
 |
property TileWidth: Cardinal read FTileWidth; |
The width of a tile.
|
 |
property TileHeight: Cardinal read FTileHeight; |
The height of a tile.
|
 |
property RenderOrder: TMapRenderOrder read FRenderOrder; |
The order in which tiles on tile layers are rendered. Valid values are right-down (the default), right-up, left-down and left-up. In all cases, the map is drawn row-by-row. (since 0.10, but only supported for orthogonal maps at the moment)
|
Generated by PasDoc 0.15.0.
|