Schreiben der Methode setAlive
This commit is contained in:
@@ -46,6 +46,9 @@ public class Life implements ILife {
|
||||
|
||||
@Override
|
||||
public void setAlive(int x, int y) {
|
||||
if (isInBounds(x, y)) {
|
||||
grid[x][y] = true;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user