This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
JRummikub/src/jrummikub/model/Sizeable.java
Jannis Harder 1e7cdb33f5 More javadocs for the model
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@64 72836036-5685-4462-b002-a69064685172
2011-05-02 04:46:00 +02:00

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();
}