CelChunk

Chunkase.chunks.CelChunk (Class)

Static Members

fromBytes(bytes: haxe.io.Bytes): CelChunk
Name Type
bytes haxe.io.Bytes
Returns
CelChunk

Instance Members

layerIndex: Int

xPosition: Int

yPosition: Int

opacity: Int


width: Int

height: Int

linkedFrame: Int



compressedData: haxe.io.Bytes

bitsPerTile: Int

bitmaskTileId: Int

bitmaskXFlip: Int

bitmaskYFlip: Int

bitmask90CWRotation: Int

compressedTilemapData: haxe.io.Bytes

tilemapData: haxe.io.Bytes

clone(): CelChunk
Returns
CelChunk

Name Type Default
out haxe.io.BytesOutput (optional)
Returns
haxe.io.Bytes

compressData(): Void

new(?createHeader: Bool = false): Void
Name Type Default
createHeader Bool false

Private Members

getSizeWithoutHeader(): Int
Returns
Int