TKTerrain Class Reference

Inherits from NSObject
Conforms to TKPropertiesOwner
Declared in TKTileset.h

Overview

Represents an entry in the tileset’s terrain list.

Identifying the Terrain

  name

The name of the terrain.

@property (copy, nonnull) NSString *name

Declared In

TKTileset.h

  localTile

The tileset-local tile GID used as icon to represent the terrain in the editor. Defaults to first tile in the tileset.

@property TKTileGID localTile

Declared In

TKTileset.h

Terrain Properties

  properties

The terrain’s TKProperties.

@property (nonnull) TKProperties *properties

Declared In

TKTileset.h