From f7f10a50afa6c1a1a0966d27526ee877556c8aa5 Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Sat, 30 Apr 2011 13:44:17 +0200 Subject: 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 --- src/jrummikub/model/Table.java | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/jrummikub/model/Table.java (limited to 'src/jrummikub/model/Table.java') 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() { + + } +} -- cgit v1.2.3