From 670fcf2613f6db2a4bfdaa91ac9d90001a90359e Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Tue, 10 May 2011 16:59:40 +0200 Subject: docs fertig und vorher repariert git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@232 72836036-5685-4462-b002-a69064685172 --- doc/jrummikub/model/Stone.html | 414 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 414 insertions(+) create mode 100644 doc/jrummikub/model/Stone.html (limited to 'doc/jrummikub/model/Stone.html') diff --git a/doc/jrummikub/model/Stone.html b/doc/jrummikub/model/Stone.html new file mode 100644 index 0000000..647f08c --- /dev/null +++ b/doc/jrummikub/model/Stone.html @@ -0,0 +1,414 @@ + + + + + + +Stone + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +jrummikub.model +
+Class Stone

+
+java.lang.Object
+  extended by jrummikub.model.Stone
+
+
+
All Implemented Interfaces:
Sizeable
+
+
+
+
public class Stone
extends java.lang.Object
implements Sizeable
+ + +

+Basic Rummikub Stone +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
Stone(int value, + StoneColor color) + +
+          Creates a normal stone of a given color and value
Stone(StoneColor color) + +
+          Creates a joker of the given color.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StoneColorgetColor() + +
+          Returns the color of the stone.
+ floatgetHeight() + +
+          Get the height of the object
+ intgetValue() + +
+          Returns the value of the stone.
+ floatgetWidth() + +
+          Get the width of the object
+ booleanisJoker() + +
+          Returns whether the stone is a joker or not.
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Stone

+
+public Stone(StoneColor color)
+
+
Creates a joker of the given color. The color is only used for + displaying. +

+

+
Parameters:
color - joker color
+
+
+ +

+Stone

+
+public Stone(int value,
+             StoneColor color)
+
+
Creates a normal stone of a given color and value +

+

+
Parameters:
value - stone value
color - stone color
+
+ + + + + + + + +
+Method Detail
+ +

+getColor

+
+public StoneColor getColor()
+
+
Returns the color of the stone. +

+

+
+
+
+ +
Returns:
stone color
+
+
+
+ +

+isJoker

+
+public boolean isJoker()
+
+
Returns whether the stone is a joker or not. +

+

+
+
+
+ +
Returns:
true when the stone is a joker
+
+
+
+ +

+getValue

+
+public int getValue()
+
+
Returns the value of the stone. Don't use this value for jokers. +

+

+
+
+
+ +
Returns:
stone value
+
+
+
+ +

+getWidth

+
+public float getWidth()
+
+
Description copied from interface: Sizeable
+
Get the width of the object +

+

+
Specified by:
getWidth in interface Sizeable
+
+
+ +
Returns:
object width
+
+
+
+ +

+getHeight

+
+public float getHeight()
+
+
Description copied from interface: Sizeable
+
Get the height of the object +

+

+
Specified by:
getHeight in interface Sizeable
+
+
+ +
Returns:
object height
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3