summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/IHandPanel.java
blob: 54896dc4712c8f6397b33bdf28bcab39926c5afb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package jrummikub.view;

import jrummikub.model.Position;
import jrummikub.model.Stone;
import jrummikub.util.Pair;

/**
 * The view for a player's hand that displays his stones
 */
public interface IHandPanel extends IStonePanel, IClickable {
	/**
	 * Set the player's stones to display on the board
	 * 
	 * @param stones
	 *          the stones
	 */
	public void setStones(Iterable<Pair<Stone, Position>> stones);

	/**
	 * Resets the rows currently displayed
	 */
	void resetCurrentRow();
}