summaryrefslogtreecommitdiffstats
path: root/src/jrummikub
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-05-24 01:51:58 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-05-24 01:51:58 +0200
commitd5a8b2204c7b717e0b1f24fed0892091835356ed (patch)
tree2b3f1e8082b935bcda6bb654d514f06b4667b73d /src/jrummikub
parent4a98975b0da4baa4158140ba85f39ffa669ba7a8 (diff)
downloadJRummikub-d5a8b2204c7b717e0b1f24fed0892091835356ed.tar
JRummikub-d5a8b2204c7b717e0b1f24fed0892091835356ed.zip
Test if initial melds are possible
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@265 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub')
-rw-r--r--src/jrummikub/model/Hand.java6
-rw-r--r--src/jrummikub/model/IHand.java2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/jrummikub/model/Hand.java b/src/jrummikub/model/Hand.java
index 35ea49f..724a48e 100644
--- a/src/jrummikub/model/Hand.java
+++ b/src/jrummikub/model/Hand.java
@@ -74,4 +74,10 @@ public class Hand extends StoneTray<Stone> implements IHand {
return points;
}
+
+ @Override
+ public boolean isInitialMeldPossible() {
+ // TODO Auto-generated method stub
+ throw new Error("not implemented");
+ }
}
diff --git a/src/jrummikub/model/IHand.java b/src/jrummikub/model/IHand.java
index ec49489..a58c7be 100644
--- a/src/jrummikub/model/IHand.java
+++ b/src/jrummikub/model/IHand.java
@@ -27,4 +27,6 @@ public interface IHand extends IStoneTray<Stone> {
* @return points
*/
int getStonePoints();
+
+ public abstract boolean isInitialMeldPossible();
}