Class TurnState
java.lang.Object
it.polimi.ingsw.model.updatecontainers.TurnState
- All Implemented Interfaces:
ModelUpdate
public class TurnState extends java.lang.Object implements ModelUpdate
A model update represents the new state of the game, i.e. an update happened in a
turn manager.
Model updates contain information to notify clients or views of an update happened on the model-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TurnState
-
-
Method Details
-
getPlayer
public java.lang.String getPlayer()returns the current player's username- Returns:
- current player's username
-
getPhase
returns the current gamePhase- Returns:
- current gamePhase
-