Shorten toggleCell Function Name
This commit is contained in:
parent
2e7fd7c3d3
commit
e40dddde52
2 changed files with 4 additions and 4 deletions
|
|
@ -72,7 +72,7 @@ class Simulation {
|
|||
return math.Point<int>(cx.toInt(), cy.toInt());
|
||||
}
|
||||
|
||||
void toggleCellState(int x, int y) {
|
||||
void toggleCell(int x, int y) {
|
||||
map.set(x, y, !map.get(x, y));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue