WorldMapGenerator class

A class that generates world maps

Implemented types

Constructors

WorldMapGenerator(WorldMapSettings _settings, int _width, int _height)
WorldMapGenerator.withTiles(WorldMapSettings settings, int width, int height)
NOTE: This feature is experimental and might not work
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generate() WorldMap
Generates an item of type T
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
seed(int seed) → void
Seeds the generator with a number
override
toString() String
A string representation of this object.
inherited

Operators

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