25 lines
645 B
Java
25 lines
645 B
Java
![]() |
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;
|
||
|
}
|
||
|
}
|