littlekt
0.6.0
common
core
/
com.lehaine.littlekt.graphics.g2d.tilemap.tiled
/
TiledMap
/
Object
Object
data
class
Object
(
val
id
:
Int
,
val
gid
:
Long
?
,
val
name
:
String
,
val
type
:
String
,
val
bounds
:
Rect
,
val
rotation
:
Angle
,
val
visible
:
Boolean
,
val
shape
:
TiledMap.Object.Shape
,
val
properties
:
Map
<
String
,
TiledMap.Property
>
)
Types
Constructors
Functions
Properties
Constructors
Object
Link copied to clipboard
fun
Object
(
id
:
Int
,
gid
:
Long
?
,
name
:
String
,
type
:
String
,
bounds
:
Rect
,
rotation
:
Angle
,
visible
:
Boolean
,
shape
:
TiledMap.Object.Shape
,
properties
:
Map
<
String
,
TiledMap.Property
>
)
Types
Draw
Order
Link copied to clipboard
enum
DrawOrder
:
Enum
<
TiledMap.Object.DrawOrder
>
Shape
Link copied to clipboard
sealed
class
Shape
Functions
bool
Link copied to clipboard
fun
bool
(
propName
:
String
,
default
:
Boolean
=
false
)
:
Boolean
float
Link copied to clipboard
fun
float
(
propName
:
String
,
default
:
Float
=
0.0f
)
:
Float
int
Link copied to clipboard
fun
int
(
propName
:
String
,
default
:
Int
=
0
)
:
Int
str
Link copied to clipboard
fun
str
(
propName
:
String
,
default
:
String
=
""
)
:
String
Properties
bounds
Link copied to clipboard
val
bounds
:
Rect
gid
Link copied to clipboard
val
gid
:
Long
?
id
Link copied to clipboard
val
id
:
Int
name
Link copied to clipboard
val
name
:
String
properties
Link copied to clipboard
val
properties
:
Map
<
String
,
TiledMap.Property
>
rotation
Link copied to clipboard
val
rotation
:
Angle
shape
Link copied to clipboard
val
shape
:
TiledMap.Object.Shape
type
Link copied to clipboard
val
type
:
String
visible
Link copied to clipboard
val
visible
:
Boolean
x
Link copied to clipboard
val
x
:
Float
y
Link copied to clipboard
val
y
:
Float