From af3661fea084df6e089c2597dc4b311c77f39e4f Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 7 Jun 2011 00:23:00 +0200 Subject: Always operate on cloned hands in the turn controls git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@380 72836036-5685-4462-b002-a69064685172 --- mock/jrummikub/model/MockPlayer.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mock') diff --git a/mock/jrummikub/model/MockPlayer.java b/mock/jrummikub/model/MockPlayer.java index 9bd1036..0f83528 100644 --- a/mock/jrummikub/model/MockPlayer.java +++ b/mock/jrummikub/model/MockPlayer.java @@ -42,4 +42,9 @@ public class MockPlayer implements IPlayer { public void setLaidOut(boolean laidOut) { this.laidOut = laidOut; } + + @Override + public void setHand(IHand hand) { + this.hand = hand; + } } -- cgit v1.2.3