diff options
Diffstat (limited to 'src/jrummikub/model/GameState.java')
-rw-r--r-- | src/jrummikub/model/GameState.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/jrummikub/model/GameState.java b/src/jrummikub/model/GameState.java new file mode 100644 index 0000000..4bb55bc --- /dev/null +++ b/src/jrummikub/model/GameState.java @@ -0,0 +1,24 @@ +package jrummikub.model; + +/** + * Class that stores information for a game of multiple rounds + */ +public class GameState { + private int firstRoundFirstPlayer; + + /** + * Gets the number of the first player of the first round + * @return the number of the first player of the first round + */ + public int getFirstRoundFirstPlayer() { + return firstRoundFirstPlayer; + } + + /** + * Sets the number of the first player of the first round + * @param firstRoundFirstPlayer the number of the first player of the first round + */ + public void setFirstRoundFirstPlayer(int firstRoundFirstPlayer) { + this.firstRoundFirstPlayer = firstRoundFirstPlayer; + } +} |