Schreiben der Methode setAlive
This commit is contained in:
1 parent
f1ceb04f8d
commit
5837858bdb
1 file changed
+3
@@ -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