Level Builder
class LevelBuilder
Represents a builder for creating LevelZ Levels.
Functions
Link copied to clipboard
fun block(name: String, properties: Map<String, Any>, coordinates: Iterable<Coordinate>): LevelBuilder
Adds a block to the level.
Adds a block with no properties to the level.
Link copied to clipboard
Adds multiple blocks to the level.
Link copied to clipboard
Gets an immutable copy of the current blocks of the level.
Link copied to clipboard
Gets the current dimension of the level.
Link copied to clipboard
Gets an immutable copy of the current headers of the level.
Link copied to clipboard
Sets a header value.
Link copied to clipboard
Loads a level into the builder.
Link copied to clipboard
Sets the scroll direction for the level.
Link copied to clipboard
Sets the spawn point for the level.