summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model/Table.java
diff options
context:
space:
mode:
authorIda Massow <massow@informatik.uni-luebeck.de>2011-04-30 13:44:17 +0200
committerIda Massow <massow@informatik.uni-luebeck.de>2011-04-30 13:44:17 +0200
commitf7f10a50afa6c1a1a0966d27526ee877556c8aa5 (patch)
treedc30444531aea26d941c5aef881e9cc635b46ca8 /src/jrummikub/model/Table.java
parenta601d484a2dad03e35110db6b67536692c125239 (diff)
downloadJRummikub-f7f10a50afa6c1a1a0966d27526ee877556c8aa5.tar
JRummikub-f7f10a50afa6c1a1a0966d27526ee877556c8aa5.zip
Modelklassen angelegt, verschiedenen Stadien von fertig, StoneHeap fertig, getestet und kommentiert
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@19 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/model/Table.java')
-rw-r--r--src/jrummikub/model/Table.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/jrummikub/model/Table.java b/src/jrummikub/model/Table.java
new file mode 100644
index 0000000..6a0a826
--- /dev/null
+++ b/src/jrummikub/model/Table.java
@@ -0,0 +1,29 @@
+package jrummikub.model;
+
+public class Table {
+ private StoneSet[] sets;
+ private Position[] positions;
+
+ // Constructor
+ public Table gameTable = new Table();
+
+ public Stone pickUp(Position position) {
+
+ }
+
+ public StoneSet pickUpSet(Position position) {
+
+ }
+
+ public StoneSet pickUpRange(Position from, Position to) {
+
+ }
+
+ public void drop(Position position, StoneSet stones) {
+
+ }
+
+ public boolean isValid() {
+
+ }
+}