summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model/Table.java
blob: 8a1b40ffc70ff6629749de23a4feb4bca0d28ac5 (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
package jrummikub.model;

/** Class administering the {@link Stone}s on the game-Table */

public class Table extends StoneTray<StoneSet> {

	// Constructor
	public Table gameTable = new Table();

	/**
	 * Removes {@link Stone} from the Table and returns it
	 * 
	 * @param position
	 *            {@link Position} of the selected {@link Stone}
	 */
	public Stone pickUpStone(Position position) {

	}

	/**
	 * Removes a part of a {@link StoneSet} from the Table and returns it
	 * 
	 * @param from
	 *            Start {@link Position} of the range
	 * @param to
	 *            End {@link Position} of the range
	 */
	public StoneSet pickUpRange(Position from, Position to) {

	}

	/** Tests the Table for rule conflicts by checking all the {@link StoneSets} */
	public boolean isValid() {

	}
}