dartfmt
This commit is contained in:
parent
4074f49228
commit
3676264444
1 changed files with 10 additions and 3 deletions
|
@ -32,7 +32,14 @@ class Grid {
|
||||||
|
|
||||||
void reset() {
|
void reset() {
|
||||||
map.setAll(0, _buildGrid(w, h));
|
map.setAll(0, _buildGrid(w, h));
|
||||||
if(_startingSeed != null) addPattern(pattern: _pattern, dispersal: _dispersal,amount: _amount,seed: _startingSeed, x: _x, y: _y);
|
if (_startingSeed != null)
|
||||||
|
addPattern(
|
||||||
|
pattern: _pattern,
|
||||||
|
dispersal: _dispersal,
|
||||||
|
amount: _amount,
|
||||||
|
seed: _startingSeed,
|
||||||
|
x: _x,
|
||||||
|
y: _y);
|
||||||
_dirty = true;
|
_dirty = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue