MapBuilder<T extends TileBase> class abstract

Implementers

Constructors

MapBuilder()

Properties

hashCode → int
The hash code for this object.
no setterinherited
map → TileMap<T>
The TileMap that was built by this builder
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

build() → Iterable<String>
Build the map. Recommend that implementations use synchronous generators so that the building of complex maps can be driven incrementally by the game loop. For example: place one room at a time for a dungeon map. The string values emitted by the returned Iterable could be used to dynamically update a loading screen.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited