summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model/StoneSet.java
blob: 67ad7957fe8cd3c90f414b0fc090c8c0b952df29 (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
package jrummikub.model;

/** Class managing {@link Stone}s joined together to form sets */
public class StoneSet {
	private Stone[] stones;

	/** Test for rule conflict within the StoneSet */
	public boolean isValid() {

	}

	/**
	 * Splits the StoneSet at a specified {@link Position} and returns two new
	 * Stone Sets
	 * 
	 * @param position
	 *            Splitting {@link Position}
	 */
	public StoneSet[] splitAt(int position) {

	}

	/**
	 * Joins StoneSet to another StoneSet and returns the resulting new StoneSet
	 * 
	 * @param other
	 *            StoneSet to be joined to active StoneSet
	 */
	public StoneSet join(StoneSet other) {

	}

}