toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.tiles
/
TileMapData
Tile
Map
Data
data
class
TileMapData
(
var
data
:
IntArray2
,
var
tileSet
:
TileSet
?
=
null
,
val
maskData
:
Int
=
268435455
,
val
maskFlipX
:
Int
=
1 shl 31
,
val
maskFlipY
:
Int
=
1 shl 30
,
val
maskRotate
:
Int
=
1 shl 29
)
Members
Members & Extensions
Constructors
Tile
Map
Data
Link copied to clipboard
constructor
(
data
:
IntArray2
,
tileSet
:
TileSet
?
=
null
,
maskData
:
Int
=
268435455
,
maskFlipX
:
Int
=
1 shl 31
,
maskFlipY
:
Int
=
1 shl 30
,
maskRotate
:
Int
=
1 shl 29
)
Properties
data
Link copied to clipboard
var
data
:
IntArray2
mask
Data
Link copied to clipboard
val
maskData
:
Int
=
268435455
mask
Flip
X
Link copied to clipboard
val
maskFlipX
:
Int
mask
Flip
Y
Link copied to clipboard
val
maskFlipY
:
Int
mask
Rotate
Link copied to clipboard
val
maskRotate
:
Int
tile
Set
Link copied to clipboard
var
tileSet
:
TileSet
?
Functions
render
Link copied to clipboard
fun
TileMapData
.
render
(
)
:
Bitmap32
render
To
Link copied to clipboard
fun
TileMapData
.
renderTo
(
out
:
Bitmap32
,
x
:
Int
,
y
:
Int
)