Revert "Add getCell and setCell method to Simulation"

This reverts commit 52b440351d.
This commit is contained in:
Unknown 2018-10-23 20:41:54 +02:00
parent 52b440351d
commit 2e7fd7c3d3
2 changed files with 6 additions and 30 deletions

View file

@ -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));
}