LevelObject

constructor(block: Block, x: Int, y: Int)

Creates a new LevelObject with the given block and coordinate.

Parameters

block

Block

x

X Coordinate

y

Y Coordinate


constructor(name: String, x: Int, y: Int)

Creates a new LevelObject with the given block and coordinate.

Parameters

name

Block Name

x

X Coordinate

y

Y Coordinate


constructor(name: String, properties: Map<String, Any>, x: Int, y: Int)

Creates a new LevelObject with the given block and coordinate.

Parameters

name

Block Name

properties

Block Properties

x

X Coordinate

y

Y Coordinate


constructor(block: Block, x: Int, y: Int, z: Int)

Creates a new LevelObject with the given block and coordinate.

Parameters

block

Block

x

X Coordinate

y

Y Coordinate

z

Z Coordinate


constructor(name: String, x: Int, y: Int, z: Int)

Creates a new LevelObject with the given block and coordinate.

Parameters

name

Block Name

x

X Coordinate

y

Y Coordinate

z

Z Coordinate


constructor(name: String, properties: Map<String, Any>, x: Int, y: Int, z: Int)

Creates a new LevelObject with the given block and coordinate.

Parameters

name

Block Name

properties

Block Properties

x

X Coordinate

y

Y Coordinate

z

Z Coordinate


constructor(block: Block, coordinate: Coordinate)