From 4ddf87fc9638a7a099c57d650ed878571d0b0954 Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Sun, 19 Jun 2011 02:45:49 +0200 Subject: =?UTF-8?q?Test=20f=C3=BCr=20game=20join=20control?= 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@478 72836036-5685-4462-b002-a69064685172 --- mock/jrummikub/control/network/MockConnectionControl.java | 5 +++-- mock/jrummikub/view/MockSettingsPanel.java | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'mock/jrummikub') diff --git a/mock/jrummikub/control/network/MockConnectionControl.java b/mock/jrummikub/control/network/MockConnectionControl.java index 7d97c78..1f68d65 100644 --- a/mock/jrummikub/control/network/MockConnectionControl.java +++ b/mock/jrummikub/control/network/MockConnectionControl.java @@ -41,6 +41,8 @@ public class MockConnectionControl implements IConnectionControl { public boolean failOnConnect; /** */ public GameData joinedGame; + /** */ + public Color playerColor; @Override public String getNickname() { @@ -142,7 +144,6 @@ public class MockConnectionControl implements IConnectionControl { @Override public void changeColor(Color color) { - // TODO Auto-generated method stub - + playerColor = color; } } diff --git a/mock/jrummikub/view/MockSettingsPanel.java b/mock/jrummikub/view/MockSettingsPanel.java index 594a3b3..16c183c 100644 --- a/mock/jrummikub/view/MockSettingsPanel.java +++ b/mock/jrummikub/view/MockSettingsPanel.java @@ -76,7 +76,9 @@ public class MockSettingsPanel implements ISettingsPanel { public int highestValue; /** */ public Set stoneColors; - private MockEvent backEvent = new MockEvent(); + /** */ + public MockEvent backEvent = new MockEvent(); + /** */ public SettingsMode settingsMode; @Override -- cgit v1.2.3