diff options
Diffstat (limited to 'mock/jrummikub')
-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; } } |