From 1e7cdb33f5bfce2d3fb174abd778788108557078 Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Mon, 2 May 2011 04:46:00 +0200 Subject: More javadocs for the model git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@64 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/model/Sizeable.java | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/jrummikub/model/Sizeable.java') 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(); } -- cgit v1.2.3