Updated 'RollDiceState' class.

Updated the 'RollDiceState' class by removing a spelling mistake.
This commit is contained in:
Daniel Grigencha
2024-12-01 23:27:45 +01:00
parent aafc804c3f
commit e68369074f

View File

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