Class TTiledMap.TTiledObject
Unit
CastleTiledMap
Declaration
type TTiledObject = class(TObject)
Description
Object definition.
Hierarchy
- TObject
- TTiledMap.TTiledObject
Enclosing Class
Overview
Fields
Methods
Description
Fields
 |
Id: Integer; |
Unique ID of the object. Each object that is placed on a map gets a unique id . Even if an object was deleted, no object gets the same ID . Can not be changed in Tiled Qt. (since Tiled 0.11)
|
 |
Name: string; |
The name of the object. An arbitrary string.
|
 |
Type_: string; |
The type of the object. An arbitrary string.
|
 |
X: Single; |
The x coordinate of the object in pixels.
|
 |
Y: Single; |
The y coordinate of the object in pixels.
|
 |
Width: Single; |
The width of the object in pixels (defaults to 0).
|
 |
Height: Single; |
The height of the object in pixels (defaults to 0).
|
 |
Rotation: Single; |
The rotation of the object in degrees clockwise (defaults to 0). (since 0.10)
|
 |
GId: Cardinal; |
An reference to a tile (optional).
|
 |
Visible: Boolean; |
Whether the object is shown (1) or hidden (0). Defaults to 1. (since 0.9)
|
 |
Properties: TPropertyList; |
|
 |
Points: TVector2List; |
List of points for poligon and poliline.
|
 |
Primitive: TTiledObjectPrimitive; |
|
 |
Image: TImage; |
|
Methods
 |
constructor Create; |
|
 |
destructor Destroy; override; |
|
 |
function Position: TVector2; |
X and Y packed in a vector.
|
Generated by PasDoc 0.16.0.