Schreiben der Methode setDead
This commit is contained in:
@@ -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