summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model/IHand.java
blob: dafa9c75cc091d9afd3ddb9aa7624a524748db0b (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.model;

/**
 * Interface for the {@link Hand} model
 */
public interface IHand extends IStoneTray<Stone> {

	/**
	 * The number of used rows
	 * 
	 * @return the number of rows
	 */
	int getRowCount();

	/**
	 * Gets the amount of free space in a hand row
	 * 
	 * @param row
	 *          the row number
	 * @return the number of stones that can fit into the row
	 */
	int getFreeRowSpace(int row);
}