Map()
Map choice. This handles:
- the map itself
- map type (which is mostly a GUI thing and should probably be refactored out)
- map script (for random maps).
When a non-"random" map is selected, the map 'script settings' are available at this.data.
TODO: the map description is currently tied to the map itself.
Constructor
new Map()
- Source:
Members
data
- Source:
map
- Source:
randomOptions
- Source:
randomOptions
- Source:
script
- Source:
script
- Source:
type
- Source:
Methods
fromInitAttributes()
- Source:
init()
- Source:
pickRandomItems()
- Source:
selectMap()
- Source:
setRandomOptions()
- Source:
setType()
- Source:
toInitAttributes()
- Source:
- Source: