summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-05-03 17:13:11 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-05-03 17:13:11 +0200
commit2b09ff6ec52037f73060849b6627a8cda53e7ea0 (patch)
tree9d8fde5509946c7f51ad45c79df7348ea583172d /src
parent42a8b91c4da3f98312ce444cca157b7d9b8e729f (diff)
downloadJRummikub-2b09ff6ec52037f73060849b6627a8cda53e7ea0.tar
JRummikub-2b09ff6ec52037f73060849b6627a8cda53e7ea0.zip
pickUp(object) in StoneTray implementiert und getestet
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@78 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src')
-rw-r--r--src/jrummikub/model/StoneTray.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/jrummikub/model/StoneTray.java b/src/jrummikub/model/StoneTray.java
index 945df13..7f97e1b 100644
--- a/src/jrummikub/model/StoneTray.java
+++ b/src/jrummikub/model/StoneTray.java
@@ -209,4 +209,11 @@ public class StoneTray<E extends Sizeable> implements
};
}
+ /**
+ * @param object
+ */
+ public void pickUp(E object) {
+ objects.remove(object);
+ }
+
}