Version 1.0 #40

Merged
j23f0779 merged 947 commits from development2 into main 2024-12-13 10:26:49 +01:00
Showing only changes of commit e68369074f - Show all commits

View File

@@ -32,6 +32,7 @@ public RollDiceState(TurnState turnAutomaton, ServerGameLogic logic) {
this.firstRollState = new FirstRollState(this, logic); this.firstRollState = new FirstRollState(this, logic);
this.secondRollState = new SecondRollState(this, logic); this.secondRollState = new SecondRollState(this, logic);
this.thirdRollState = new ThirdRollState(this, logic); this.thirdRollState = new ThirdRollState(this, logic);
this.setCurrentState(this.firstRollState);
} }
@Override @Override
@@ -58,7 +59,7 @@ public RollDiceAutomatonState getCurrentState() {
* *
* @return firstRollState as a FirstRollState object. * @return firstRollState as a FirstRollState object.
*/ */
public FirstRollState getFirstRollStateState() { public FirstRollState getFirstRollState() {
return this.firstRollState; return this.firstRollState;
} }