Class TTiledMap.TTile

Unit

Declaration

type TTile = class(TObject)

Description

Hierarchy

Enclosing Class

Overview

Fields

Public Id: Cardinal;
Public Terrain: TVector4Integer;
Public Probability: Single;
Public Properties: TPropertyList;
Public Image: TImage;
Public ObjectGroup: TObjectGroupLayer;
Public Animation: TAnimation;

Methods

Public constructor Create;
Public destructor Destroy; override;

Description

Fields

Public Id: Cardinal;

The local tile ID within its tileset.

Public Terrain: TVector4Integer;

Defines the terrain type of each corner of the tile, given as comma-separated indexes in the terrain types array in the order top-left, top-right, bottom-left, bottom-right. Leaving out a value means that corner has no terrain. (optional) (since 0.9)

Public Probability: Single;

A percentage indicating the probability that this tile is chosen when it competes with others while editing with the terrain tool. (optional) (since 0.9)

Public Properties: TPropertyList;
 
Public Image: TImage;
 
Public ObjectGroup: TObjectGroupLayer;

ObjectGroup since 0.10.

Public Animation: TAnimation;
 

Methods

Public constructor Create;
 
Public destructor Destroy; override;
 

Generated by PasDoc 0.16.0.