diff --git a/src/ldtk/Json.hx b/src/ldtk/Json.hx index 33da2de..a84469b 100644 --- a/src/ldtk/Json.hx +++ b/src/ldtk/Json.hx @@ -630,6 +630,10 @@ typedef EntityInstanceJson = { @changed("0.4.0") var px: Array; + /** Two-bit integer. First bit determines whether or not this EntityInstance is flipped horizontally, the second bit vertically. **/ + @added("1.2.6") + var f: Int; + /** An array of all custom fields and their values. **/ var fieldInstances: Array; } @@ -981,6 +985,16 @@ typedef EntityDefJson = { @internal var resizableY: Bool; + /** If TRUE, the entity instances will be flippable horizontally **/ + @added("1.2.6") + @internal + var flippableX: Bool; + + /** If TRUE, the entity instances will be flippable vertically **/ + @added("1.2.6") + @internal + var flippableY: Bool; + /** Only applies to entities resizable on both X/Y. If TRUE, the entity instance width/height will keep the same aspect ratio as the definition. **/ @added("0.8.0") @internal