Basics
Guides
API Reference
Basics
Guides
API Reference
[14:7] extends: FxObj
Wraps FXGL's TiledObject
(com.almasb.fxgl.entity.level.tiled.TiledObject), one entry in
a Tiled object layer. Carries id, name, type / typeClass,
pixel position, dimensions, rotation, optional gid for tile-
objects, and the parsed properties map.
TiledObject ()
Empty default constructor; populated by adopt.
adopt (object Ajo)
Wraps an existing TiledObject AussomJavaObject.
getId ()
getName ()
getType ()
getTypeClass ()
getWidth ()
getHeight ()
getX ()
getY ()
getRotation ()
getGid ()
isVisible ()
isFlippedHorizontal ()
isFlippedVertical ()
getTextData ()
Returns the TextData AJO for text-objects, or null.
getProperties ()
Returns the properties map AJO.
getPropertytypes ()
Returns the property-type metadata map AJO.
getVisible ()
Returns the boolean visible flag (matches the Java getter name).
setId (int V)
setName (string V)
setType (string V)
setTypeClass (string V)
setWidth (int V)
setHeight (int V)
setX (int V)
setY (int V)
setRotation (double V)
setGid (int V)
setVisible (bool V)
setFlippedHorizontal (bool V)
setFlippedVertical (bool V)
setProperties (object MapAjo)
Replaces the properties map. Accepts a Java Map AJO.
setPropertytypes (object MapAjo)
Replaces the property-type metadata map.
setTextData (object TextDataAjo)
Replaces the TextData. Accepts a TextData AJO or null.

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.