Creates a new Builder
The map height
The map width
Clear previously captured snapshots.
Sets the map values to match a given table. A shallow copy is made from the given table.
Returns the internal map.
Returns previously captured snapshots.
Takes a snapshot of the current map state. These can be retrieved through getSnapshots()
Generated using TypeDoc
Builder represents a base class used to create a new kind of map. It is meant to be inherited from, with individual specialized builders providing additional information as they generate the map. This basic Builder class can still be used for it's snapshot functionality when playing with custom map generation.
A builder's type should generally be either a number or numeric enum.