From 0ef783407075008514b9e3eb9b32ea67501e4206 Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Sat, 30 Apr 2011 15:45:11 +0200 Subject: =?UTF-8?q?Arrays=20zu=20Listen=20ge=C3=A4ndert,=20StoneTray=20Kla?= =?UTF-8?q?sse=20mit=20Sizeable=20Interface=20angelegt,=20Testklassen=20er?= =?UTF-8?q?zeugt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@26 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/model/StoneSet.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/jrummikub/model/StoneSet.java') diff --git a/src/jrummikub/model/StoneSet.java b/src/jrummikub/model/StoneSet.java index 67ad795..706ed3b 100644 --- a/src/jrummikub/model/StoneSet.java +++ b/src/jrummikub/model/StoneSet.java @@ -1,8 +1,10 @@ package jrummikub.model; +import jrummikub.util.Pair; + /** Class managing {@link Stone}s joined together to form sets */ public class StoneSet { - private Stone[] stones; + private List stones; /** Test for rule conflict within the StoneSet */ public boolean isValid() { @@ -16,7 +18,7 @@ public class StoneSet { * @param position * Splitting {@link Position} */ - public StoneSet[] splitAt(int position) { + public Pair splitAt(int position) { } -- cgit v1.2.3