
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@64 72836036-5685-4462-b002-a69064685172
22 lines
429 B
Java
22 lines
429 B
Java
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();
|
|
}
|