Remove unused variable dispersal
This commit is contained in:
parent
474adb740c
commit
e840a3e580
2 changed files with 4 additions and 10 deletions
|
|
@ -14,7 +14,7 @@ class SimulationService {
|
|||
SimulationService(this._engine, [Simulation sim])
|
||||
: this._sim = sim ?? Simulation(DEFAULT_GRID_SIZE, DEFAULT_GRID_SIZE) {
|
||||
_engine.simulation = _sim;
|
||||
_sim.addRandomPattern(amount: 15, dispersal: 5);
|
||||
_sim.addRandomPattern(amount: 15);
|
||||
}
|
||||
|
||||
void reset() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue