Remove unnecessary pattern parameters
This commit is contained in:
parent
6d7120650f
commit
bac65ef116
2 changed files with 6 additions and 25 deletions
|
|
@ -124,20 +124,8 @@ class Engine {
|
|||
if (canvas != null) _grid.render(canvas, interp);
|
||||
}
|
||||
|
||||
void addPattern(
|
||||
{CellPattern pattern,
|
||||
int x,
|
||||
int y,
|
||||
int amount,
|
||||
int dispersal,
|
||||
int seed}) {
|
||||
_grid.addPattern(
|
||||
pattern: pattern,
|
||||
x: x,
|
||||
y: y,
|
||||
amount: amount,
|
||||
dispersal: dispersal,
|
||||
seed: seed);
|
||||
void addPattern({int amount, int dispersal}) {
|
||||
_grid.addPattern(amount: amount, dispersal: dispersal);
|
||||
}
|
||||
|
||||
void toggleEdgeRendering() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue