Browse Source

addTestModeToGameService

main
fdai7793 11 months ago
parent
commit
4c81eec3e9
  1. 7
      src/main/java/de/hsfulda/onses/services/GameService.java

7
src/main/java/de/hsfulda/onses/services/GameService.java

@ -10,6 +10,13 @@ import java.util.Random;
public class GameService {
private final Game game;
private boolean test = false;
public GameService setTest(boolean test) {
this.test = test;
return this;
}
public GameService(Game game) {
this.game = game;
this.game.setGameService(this);

Loading…
Cancel
Save