summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model/Sizeable.java
blob: 3c78e5ce63ca06db842166ada4377a811c690e48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package jrummikub.model;

/**
 * Objects that have a size. This interface has to be implemented for objects
 * placed on a @{link StoneTray} to make detection of overlapping objects
 * possible.
 */
public interface Sizeable {
	/**
	 * Get the width of the object
	 * 
	 * @return object width
	 */
	public float getWidth();

	/**
	 * Get the height of the object
	 * 
	 * @return object height
	 */
	public float getHeight();
}