From 8a3e4c3e26cba022dfaf06f8c7cd31b33b0889e9 Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Mon, 20 Jun 2011 03:19:02 +0200 Subject: Finished side panel info git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@501 72836036-5685-4462-b002-a69064685172 --- mock/jrummikub/model/MockPlayer.java | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'mock') diff --git a/mock/jrummikub/model/MockPlayer.java b/mock/jrummikub/model/MockPlayer.java index f7baee8..d1aefb4 100644 --- a/mock/jrummikub/model/MockPlayer.java +++ b/mock/jrummikub/model/MockPlayer.java @@ -11,6 +11,10 @@ public class MockPlayer implements IPlayer { public PlayerSettings playerSettings; /** */ public boolean laidOut; + /** */ + public boolean lastTurnInvalid; + /** */ + public int lastTurnStoneCount; /** * @param playerSettings @@ -48,4 +52,24 @@ public class MockPlayer implements IPlayer { public void setHand(IHand hand) { this.hand = hand; } + + @Override + public boolean wasLastTurnInvalid() { + return lastTurnInvalid; + } + + @Override + public void setLastTurnInvalid(boolean value) { + lastTurnInvalid = value; + } + + @Override + public int getLastTurnStoneCount() { + return lastTurnStoneCount; + } + + @Override + public void setLastTurnStoneCount(int value) { + lastTurnStoneCount = value; + } } -- cgit v1.2.3