diff options
Diffstat (limited to 'src/jrummikub/model/Sizeable.java')
-rw-r--r-- | src/jrummikub/model/Sizeable.java | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/jrummikub/model/Sizeable.java b/src/jrummikub/model/Sizeable.java index fa022cc..3c78e5c 100644 --- a/src/jrummikub/model/Sizeable.java +++ b/src/jrummikub/model/Sizeable.java @@ -1,9 +1,22 @@ package jrummikub.model; /** - * Objects that have a size + * 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(); } |