Schreiben der Methode setDead
This commit is contained in:
1 parent
5837858bdb
commit
51054a0351
1 file changed
+3
@@ -53,6 +53,9 @@ public class Life implements ILife {
|
||||
|
||||
@Override
|
||||
public void setDead(int x, int y) {
|
||||
if (isInBounds(x, y)) {
|
||||
grid[x][y] = false;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user