summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model/IPlayer.java
blob: 6c4a9aef5419a47386543f4c1f3b309dbbc8f2e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package jrummikub.model;

/**
 * Interface for {@link Player} model
 */
public interface IPlayer {

	/**
	 * Get the current hand of the player
	 * 
	 * @return the player's hand
	 */
	public IHand getHand();

	/**
	 * Has the player laid out yet?
	 * 
	 * @return if the player has laid out
	 */
	public boolean getLaidOut();

	/**
	 * Returns the player settings
	 * 
	 * @return the player settings
	 */
	public PlayerSettings getPlayerSettings();

	/**
	 * Set if the player laid out
	 * 
	 */
	void setLaidOut(boolean laidOut);
}