Legger til manglende kommentarer for konstruksjonsfunksjoner

This commit is contained in:
Kristian Knarvik 2020-03-25 09:58:42 +01:00
parent 47facbabd6
commit 061b8edc06

View File

@ -23,6 +23,10 @@ public class RoboRallyGame implements IDrawableGame {
private List<BoardElementContainer<Tile>> fastConveyorBelts; private List<BoardElementContainer<Tile>> fastConveyorBelts;
private List<Player> playerList; private List<Player> playerList;
/**
* Instantiates a new robo rally game
* @param debug Whether to start the game in debugging mode
*/
public RoboRallyGame(boolean debug) { public RoboRallyGame(boolean debug) {
if (debug) { if (debug) {
initializeDebugMode(); initializeDebugMode();
@ -31,6 +35,9 @@ public class RoboRallyGame implements IDrawableGame {
} }
} }
/**
* Instantiates a new robo rally game
*/
public RoboRallyGame() { public RoboRallyGame() {
initializeGame(); initializeGame();
} }