Cover class

A biome's surface block where the ground stands in a window of height and a roll hits: snow above a height, patches of mud.

Constructors

Cover(String block, {int perMille = 1000, int? minHeight, int? maxHeight, int patch = 1})
block on perMille of the columns whose surface height (the first air cell) is in minHeight..maxHeight; one roll per patch x patch square of columns, so a cover lies in patches.
const

Properties

block → String
The surface block.
final
hashCode → int
The hash code for this object.
no setterinherited
maxHeight → int?
The highest surface height, or null.
final
minHeight → int?
The lowest surface height, or null.
final
patch → int
The side of the square one roll covers, in blocks.
final
perMille → int
How many columns (or patches) in a thousand it covers.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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