summaryrefslogtreecommitdiffstats
path: root/test/jrummikub/model
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-05-04 21:47:35 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-05-04 21:47:35 +0200
commit88766c6df209637ddb3e97a38e8a1aa45a8bd515 (patch)
tree111535a302e4990090333569493663fb81a5c441 /test/jrummikub/model
parentfe019e5eae8d8e740d7620044727988c6d28a423 (diff)
downloadJRummikub-88766c6df209637ddb3e97a38e8a1aa45a8bd515.tar
JRummikub-88766c6df209637ddb3e97a38e8a1aa45a8bd515.zip
Selecting/collecting on table (without range)
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@124 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'test/jrummikub/model')
-rw-r--r--test/jrummikub/model/MockTable.java64
1 files changed, 64 insertions, 0 deletions
diff --git a/test/jrummikub/model/MockTable.java b/test/jrummikub/model/MockTable.java
new file mode 100644
index 0000000..5ac5dca
--- /dev/null
+++ b/test/jrummikub/model/MockTable.java
@@ -0,0 +1,64 @@
+package jrummikub.model;
+
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
+
+import jrummikub.util.Pair;
+import jrummikub.view.MockStoneCollectionPanel;
+
+public class MockTable implements ITable {
+ public Map<Stone, StoneSet> findStoneSet = new HashMap<Stone, StoneSet>();
+
+ @Override
+ public void pickUpStone(Stone stone) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public boolean isValid() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ @Override
+ public StoneSet pickUp(Position position) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public void drop(StoneSet object, Position position) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public Position getPosition(StoneSet object) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public void pickUp(StoneSet object) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public Iterator<Pair<StoneSet, Position>> iterator() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public StoneSet findStoneSet(Stone stone) {
+ return findStoneSet.get(stone);
+ }
+
+ public MockTable clone() {
+ return null;
+ }
+
+}