Browse Source

refactoring: make setCurrentTurn void

main
fdai7920 11 months ago
parent
commit
014a7259cc
  1. 3
      src/main/java/de/hsfulda/onses/services/PlayerService.java

3
src/main/java/de/hsfulda/onses/services/PlayerService.java

@ -28,9 +28,8 @@ public class PlayerService {
return currentTurn; return currentTurn;
} }
public PlayerService setCurrentTurn(boolean currentTurn) {
public void setCurrentTurn(boolean currentTurn) {
this.currentTurn = currentTurn; this.currentTurn = currentTurn;
return this;
} }
public Game getGame() { public Game getGame() {

Loading…
Cancel
Save