Add Javadoc

This commit is contained in:
Stefan Waldmann
2022-01-29 16:30:42 +01:00
parent 69a62c5c4b
commit 6f7e311b51

View File

@@ -27,7 +27,11 @@ public class Life {
boolean stopAfterGen = false;
boolean invalid = false;
/**
* Constructor.
*
* @param args the command line arguments
*/
public Life(String[] args) {
parse(args);
}
@@ -41,7 +45,10 @@ public class Life {
}
}
private void start() {
/**
* Starts the game.
*/
public void start() {
printGameHeader();
readPattern();
while (true) {