summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model/StoneTray.java
blob: 4a228705075a5f9aa2b63c7fd45f2c35c0436152 (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
package jrummikub.model;

/** A StoneTray is a collection of positioned objects (for example {@link Stone}s or {@link StoneSet}s.  */
public abstract class StoneTray<E extends Sizeable> {
	protected List<E> objects;
	protected List<Position> positions;
	
	/**
	 * Removes object from tray and returns it
	 * 
	 * @param position
	 *            position of the object that will be removed
	 */
	public E pickUp(Position position) {

	}
	

	/**
	 * Adds object to the tray
	 * 
	 * @param object
	 *            object to add to Hand
	 * @param position
	 *            {@link Position} to put the object
	 */
	public void drop(E object, Position position) {

	}
	
}