Object TTile

Unit

Declaration

type TTile = object(TObject)

Description

Hierarchy

  • TObject
  • TTile

Overview

Fields

Public Id: Cardinal;
Public Terrain: TVector4Integer;
Public Probability: Single;
Public Properties: TProperties;
Public Image: TImage;
Public ObjectGroup: TLayers;
Public Animation: TAnimation;

Methods

Public procedure Free;

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: TProperties;
 
Public Image: TImage;
 
Public ObjectGroup: TLayers;

ObjectGroup since 0.10 (internally as layer)

Public Animation: TAnimation;
 

Methods

Public procedure Free;
 

Generated by PasDoc 0.15.0.