| Constructor and Description |
|---|
TileLayer(int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight() |
int |
getTileId(int x,
int y)
Returns the tile id at a given coordinate on the layer
|
int |
getWidth() |
void |
setTileId(int x,
int y,
int id)
Sets the tile id at a given coordinate on the layer
|
containsProperty, getIndex, getLayerType, getName, getProperties, getProperty, isVisible, setIndex, setName, setProperty, setVisiblepublic int getTileId(int x,
int y)
x - The x coordinate in tilesy - The y coordinate in tilespublic void setTileId(int x,
int y,
int id)
x - The x coordinate in tilesy - The y coordinate in tilesid - 0 if there is no tilepublic int getWidth()
public int getHeight()