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/Hand.html | 386 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 386 insertions(+) create mode 100644 doc/jrummikub/model/Hand.html (limited to 'doc/jrummikub/model/Hand.html') diff --git a/doc/jrummikub/model/Hand.html b/doc/jrummikub/model/Hand.html new file mode 100644 index 0000000..678c2f2 --- /dev/null +++ b/doc/jrummikub/model/Hand.html @@ -0,0 +1,386 @@ + + + + + + +Hand + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +jrummikub.model +
+Class Hand

+
+java.lang.Object
+  extended by jrummikub.model.StoneTray<Stone>
+      extended by jrummikub.model.Hand
+
+
+
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<Pair<Stone,Position>>, IHand, IStoneTray<Stone>
+
+
+
+
public class Hand
extends StoneTray<Stone>
implements IHand
+ + +

+Class managing a Player's Stones +

+ +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class jrummikub.model.StoneTray
StoneTray.Direction
+  + + + + + + + + + + + + + + + +
+Field Summary
+static intHEIGHT + +
+          The height of the hand
+static intWIDTH + +
+          The width of the hand
+ + + + + + + +
Fields inherited from class jrummikub.model.StoneTray
objects
+  + + + + + + + + + + +
+Constructor Summary
Hand() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+protected  Pair<Position,StoneTray.Direction>fixInvalidDrop(Stone stone, + Position pos, + StoneTray.Direction dir) + +
+          Checks whether the object may be placed on the given position, computes + new position if not
+ + + + + + + +
Methods inherited from class jrummikub.model.StoneTray
clone, drop, getPosition, getSize, iterator, pickUp
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface jrummikub.model.IStoneTray
clone, drop, getPosition, getSize, pickUp
+ + + + + + + +
Methods inherited from interface java.lang.Iterable
iterator
+  +

+ + + + + + + + +
+Field Detail
+ +

+WIDTH

+
+public static final int WIDTH
+
+
The width of the hand +

+

+
See Also:
Constant Field Values
+
+
+ +

+HEIGHT

+
+public static final int HEIGHT
+
+
The height of the hand +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Hand

+
+public Hand()
+
+
+ + + + + + + + +
+Method Detail
+ +

+fixInvalidDrop

+
+protected Pair<Position,StoneTray.Direction> fixInvalidDrop(Stone stone,
+                                                            Position pos,
+                                                            StoneTray.Direction dir)
+
+
Description copied from class: StoneTray
+
Checks whether the object may be placed on the given position, computes + new position if not +

+

+
Overrides:
fixInvalidDrop in class StoneTray<Stone>
+
+
+
Parameters:
stone - to be dropped
pos - the object is dropped at +
Returns:
null if the drop is valid, new position otherwise
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3