summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model/Table.java
blob: 591b04eea796df050488ac2a6d6e9992d2971b4a (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
37
38
39
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) {
		// TODO implement this method
		return null;
	}

	/**
	 * 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) {
		// TODO implement this method
		return null;
	}

	/** Tests the Table for rule conflicts by checking all the {@link StoneSets} */
	public boolean isValid() {
		// TODO implement this method
		return false;
	}
}