mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-25 12:25:10 -08:00
Add Javadoc
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user