containsProperty

fun MapLayer.containsProperty(key: String): Boolean

Extension method to directly access the MapProperties of a MapLayer and its containsKey method.

Return

true if the property exists. Otherwise false.

Parameters

key

property name.


fun MapObject.containsProperty(key: String): Boolean

Extension method to directly access the MapProperties of a MapObject and its containsKey method.

Return

true if the property exists. Otherwise false.

Parameters

key

property name.


fun TiledMapTileSet.containsProperty(key: String): Boolean

Extension method to directly access the MapProperties of a TiledMapTileSet and its containsKey method.

Return

true if the property exists. Otherwise false.

Parameters

key

property name.


fun TiledMapTile.containsProperty(key: String): Boolean

Extension method to directly access the MapProperties of a TiledMapTile and its containsKey method.

Return

true if the property exists. Otherwise false.

Parameters

key

property name.


fun TiledMap.containsProperty(key: String): Boolean

Extension method to directly access the MapProperties of a TiledMap and its containsKey method.

Return

true if the property exists. Otherwise false.

Parameters

key

property name.