RuleTarget

ldtk.rules.RuleTarget (Interface) → ceramic.LdtkRuleRunner

The auto-layer receiving the tiles: geometry, random seed, and cells killed by another layer.

Instance Members

getSeed(): Int
Returns
Int

getGridSize(): Int
Returns
Int

getTilePivotX(): Float
Returns
Float

getTilePivotY(): Float
Returns
Float

getWidth(): Int
Returns
Int

getHeight(): Int
Returns
Int

isCellKilled(cx: Int, cy: Int): Bool

TRUE if no auto tile may be rendered in this cell (LDtk autoTilesKilledByOtherLayerUid feature)

Name Type
cx Int
cy Int
Returns
Bool