diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-05-31 18:25:47 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-05-31 18:25:47 +0200 |
commit | bc04d21afb9534e3f0aed53045ecc3a30a37bf81 (patch) | |
tree | 838c53802638fa06b9ddb9d73a34535abf597da5 /mock | |
parent | 03b3bf23401c480602162c0e3f45626e5d9f2e0e (diff) | |
download | JRummikub-bc04d21afb9534e3f0aed53045ecc3a30a37bf81.tar JRummikub-bc04d21afb9534e3f0aed53045ecc3a30a37bf81.zip |
View: Refactor bottom panel display
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@354 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock')
-rw-r--r-- | mock/jrummikub/view/MockView.java | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/mock/jrummikub/view/MockView.java b/mock/jrummikub/view/MockView.java index ccc446f..09f3254 100644 --- a/mock/jrummikub/view/MockView.java +++ b/mock/jrummikub/view/MockView.java @@ -28,9 +28,7 @@ public class MockView implements IView { /** */ public String currentPlayerName; /** */ - public boolean displayStartTurnPanel = false; - /** */ - public boolean displayWinPanel = false; + public BottomPanelType bottomPanelType; /** */ public MockEvent startTurnEvent = new MockEvent(); @@ -68,21 +66,11 @@ public class MockView implements IView { } @Override - public void enableStartTurnPanel(boolean enable) { - displayStartTurnPanel = enable; - } - - @Override public IEvent getStartTurnEvent() { return startTurnEvent; } @Override - public void enableWinPanel(boolean enable) { - displayWinPanel = enable; - } - - @Override public IEvent getEndProgramEvent() { return quitEvent; } @@ -121,7 +109,7 @@ public class MockView implements IView { } @Override - public void setHasLaidOut(boolean hasLaidOut) { + public void setCurrentPlayerHasLaidOut(boolean hasLaidOut) { // TODO Auto-generated method stub } @@ -132,15 +120,8 @@ public class MockView implements IView { } @Override - public void showInterface(boolean enable) { - // TODO Auto-generated method stub - - } - - @Override - public void enableThinkPanel(boolean b) { - // TODO Auto-generated method stub - + public void setBottomPanel(BottomPanelType type) { + bottomPanelType = type; } } |