Updated 'RollDiceState' class.
Updated the 'RollDiceState' class by removing a spelling mistake.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user