Class TCastleTiledMapData.TTiledObject
Unit
Declaration
type TTiledObject = class(TObject)
Description
Object definition.
Hierarchy
- TObject
- TCastleTiledMapData.TTiledObject
Enclosing Class
Overview
Fields
![]() |
Id: Integer; |
![]() |
Name: String; |
![]() |
Type_: String; |
![]() |
X: Single; |
![]() |
Y: Single; |
![]() |
Width: Single; |
![]() |
Height: Single; |
![]() |
Rotation: Single; |
![]() |
GId: Cardinal; |
![]() |
Visible: Boolean; |
![]() |
Properties: TPropertyList; |
![]() |
Points: TVector2List; |
![]() |
Primitive: TTiledObjectPrimitive; |
![]() |
Image: TImage; |
Methods
![]() |
constructor Create; |
![]() |
destructor Destroy; override; |
![]() |
function Position: TVector2; |
Description
Fields
![]() |
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; |
This item has no description. |
![]() |
Points: TVector2List; |
List of points for poligon and poliline. |
![]() |
Primitive: TTiledObjectPrimitive; |
This item has no description. |
![]() |
Image: TImage; |
This item has no description. |
Methods
![]() |
constructor Create; |
This item has no description. |
![]() |
destructor Destroy; override; |
This item has no description. |
![]() |
function Position: TVector2; |
X and Y packed in a vector. |
Generated by PasDoc 0.16.0-snapshot.