Class GameOfLifeMain
java.lang.Object
GameOfLifeMain
Game of life class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GameOfLifeimportFromFile(File file) Import from file game of life.static voidThe entry point of application.static voidrunIteration(GameOfLife gameOfLife) Run iteration.
-
Constructor Details
-
GameOfLifeMain
public GameOfLifeMain()
-
-
Method Details
-
main
The entry point of application.- Parameters:
args- the input arguments- Throws:
IOException- the io exception
-
runIteration
public static void runIteration(GameOfLife gameOfLife) Run iteration.- Parameters:
gameOfLife- the game of life
-
importFromFile
Import from file game of life.- Parameters:
file- the file- Returns:
- the game of life
- Throws:
FileNotFoundException- the file not found exception
-