summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model/IPlayer.java
blob: 3eca44bdd97742c028f305b0fdcda3be046990d3 (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
package jrummikub.model;

import java.awt.Color;

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

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

	/**
	 * Return the player's color
	 * 
	 * @return the player's color
	 */
	public Color getColor();

	/**
	 * Return the name of the player
	 * 
	 * @return the player's name
	 */
	public String getName();

}