summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/IHandPanel.java
blob: ea08f86efb8cc919ad6d28f88298bd195b55119e (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();
}