Finished Class Parser just one open question remaining winpoints (Cleanup and Javadoc)

This commit is contained in:
Leonardo Brandenberger 2021-12-10 10:52:58 +01:00
parent 792944a7ce
commit f30c145dcf
1 changed files with 2 additions and 1 deletions

View File

@ -77,6 +77,7 @@ public class Parser {
gameStartValues.put("NumberOfPlayers", textIO.newIntInputReader().withMinVal(Config.MIN_NUMBER_OF_PLAYERS).withMaxVal(4).read("Number of players:")); gameStartValues.put("NumberOfPlayers", textIO.newIntInputReader().withMinVal(Config.MIN_NUMBER_OF_PLAYERS).withMaxVal(4).read("Number of players:"));
gameStartValues.put("NumberOfWinPoints", textIO.newIntInputReader().withMinVal(5).withMaxVal(15).read("Winpoints needed for Victory:")); gameStartValues.put("NumberOfWinPoints", textIO.newIntInputReader().withMinVal(5).withMaxVal(15).read("Winpoints needed for Victory:"));
return gameStartValues; return gameStartValues;
//Todo find out how many max and min Win Points
} }
/** /**
@ -102,7 +103,7 @@ public class Parser {
} }
/** /**
* Outputs which player currently is at turn * Outputs which player currently is at turn.
* *
* @param faction the faction which turn it is * @param faction the faction which turn it is
*/ */