public interface TiledCustomizable
A TiledCustomizable object represents an entity (such as a map, map layer, or tileset) that can be given custom properties, defined by a <properties> tag inside the entity's tag in a Tiled XML file.
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getProperties()
Returns an unmodifiable Map view of this entity's custom properties.
|
Object |
getProperty(String name)
Returns the value of this entity's custom property with the specified
name, or null if no such property was specified.
|
Map<String,Object> getProperties()
java.awt.Color
for a color, TiledFile for a file, and TiledObject for an object (unless
the object property is unset, in which case the value is null).Object getProperty(String name)
java.awt.Color
for a color, TiledFile for a file, and
TiledObject for an object (unless the object property is unset, in which
case the value is null).name
- The name of the property whose value is to be returnedCopyright © 2020. All rights reserved.