From dcf87994cb4cb5083e12e2acb55ec6cf42e4d7e9 Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Sun, 19 Jun 2011 18:53:02 +0200 Subject: Show side panel only ingame git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@487 72836036-5685-4462-b002-a69064685172 --- mock/jrummikub/view/MockSidePanel.java | 16 ++++++++++++++++ mock/jrummikub/view/MockView.java | 11 +++++++++++ 2 files changed, 27 insertions(+) create mode 100644 mock/jrummikub/view/MockSidePanel.java (limited to 'mock/jrummikub') diff --git a/mock/jrummikub/view/MockSidePanel.java b/mock/jrummikub/view/MockSidePanel.java new file mode 100644 index 0000000..af103a6 --- /dev/null +++ b/mock/jrummikub/view/MockSidePanel.java @@ -0,0 +1,16 @@ +package jrummikub.view; + +import jrummikub.model.GameSettings; + +/** + * Mock class for the side panel + */ +public class MockSidePanel implements ISidePanel { + + @Override + public void setGameSettings(GameSettings settings) { + // TODO Auto-generated method stub + + } + +} diff --git a/mock/jrummikub/view/MockView.java b/mock/jrummikub/view/MockView.java index d5fd88a..2e155e4 100644 --- a/mock/jrummikub/view/MockView.java +++ b/mock/jrummikub/view/MockView.java @@ -256,4 +256,15 @@ public class MockView implements IView { } + @Override + public ISidePanel getSidePanel() { + return new MockSidePanel(); + } + + @Override + public void showSidePanel(boolean show) { + // TODO Auto-generated method stub + + } + } -- cgit v1.2.3