Updated 'AnimationState' class.
Updated the 'AnimationState' class by removing the unused 'DiceNowMessage' call from it.
This commit is contained in:
@@ -55,7 +55,6 @@ public void exit() {
|
|||||||
public void received(AnimationEndMessage msg, int from) {
|
public void received(AnimationEndMessage msg, int from) {
|
||||||
this.messageReceived.put(from, true);
|
this.messageReceived.put(from, true);
|
||||||
if (this.messageReceived.size() == this.logic.getGame().getPlayers().size()) {
|
if (this.messageReceived.size() == this.logic.getGame().getPlayers().size()) {
|
||||||
this.logic.getServerSender().send(this.logic.getGame().getActivePlayerId(), new DiceNowMessage());
|
|
||||||
this.gameAutomaton.setCurrentState(this.gameAutomaton.getTurnState());
|
this.gameAutomaton.setCurrentState(this.gameAutomaton.getTurnState());
|
||||||
this.gameAutomaton.getTurnState().setCurrentState(this.gameAutomaton.getTurnState().getPowerCardState());
|
this.gameAutomaton.getTurnState().setCurrentState(this.gameAutomaton.getTurnState().getPowerCardState());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user