Class TCastleTiledMapData.TTile

Unit

Declaration

type TTile = class(TObject)

Description

This item has no description.

Hierarchy

  • TObject
  • TCastleTiledMapData.TTile

Enclosing Class

Overview

Fields

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

Methods

Public constructor Create;
Public destructor Destroy; override;

Description

Fields

Public Id: Cardinal;

The local tile ID within its tileset.

Public Type: String;

The class of the tile. Is inherited by tile objects. (since 1.0, defaults to '', was saved as class in 1.9)

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;

This item has no description.

Public Image: TImage;

This item has no description.

Public ObjectGroup: TObjectGroupLayer;

ObjectGroup since 0.10.

Public Animation: TAnimation;

This item has no description.

Public RendererData: TObject;

Use to render the tile. Not a part of the file format. In case of X3DLoadInternalTiledMap, this is always TShapeNode.

Methods

Public constructor Create;

This item has no description.

Public destructor Destroy; override;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.