summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model/IPlayer.java
blob: 0545352ca0e25bd5b7afc6dc6602fa8ad1a534b1 (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
35
36
37
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
	 * 
	 * @param laidOut
	 *            the player laid out
	 * 
	 */
	void setLaidOut(boolean laidOut);
}