MapAutoTileCache

ldtk.rules.MapAutoTileCache (Class)
Implements: AutoTileSink

Sink writing into an editor style AutoTileCache (one object per tile, editable per rule and per cell)

Instance Members


beginRule(ruleUid: Int): Void
Name Type
ruleUid Int

add(coordId: Int, x: Int, y: Int, srcX: Int, srcY: Int, tid: Int, flips: Int, a: Float): Void
Name Type
coordId Int
x Int
y Int
srcX Int
srcY Int
tid Int
flips Int
a Float

new(?cache: Null<AutoTileCache>): Void
Name Type Default
cache Null<AutoTileCache> (optional)

Private Members

cur: Map