Revert "Add getCell and setCell method to Simulation"
This reverts commit 52b440351d.
This commit is contained in:
parent
52b440351d
commit
2e7fd7c3d3
2 changed files with 6 additions and 30 deletions
|
|
@ -72,10 +72,6 @@ class Simulation {
|
|||
return math.Point<int>(cx.toInt(), cy.toInt());
|
||||
}
|
||||
|
||||
bool getCell(int x, int y) => map.get(x, y);
|
||||
|
||||
void setCell(int x, int y, bool value) => map.set(x, y, value);
|
||||
|
||||
void toggleCellState(int x, int y) {
|
||||
map.set(x, y, !map.get(x, y));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue