TiledMap::getTileId()
Reads a global tile ID, without flip bits. Columns and rows are local to the named layer, starting at its top-left cell. Zero means an empty cell, including cells outside the layer. An unknown layer is an error.
Examples
File /src/examples/java/reference//TiledMapData.java is missing.
Syntax
Java
.getTileId(layerName, column, row)
Parameters
| Name | Data Type | Description |
|---|---|---|
| layerName | String | tile layer name, also within a group |
| column | int | column index |
| row | int | row index |
Return
int