summaryrefslogtreecommitdiffstats
path: root/mock
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-06-19 18:53:02 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-06-19 18:53:02 +0200
commitdcf87994cb4cb5083e12e2acb55ec6cf42e4d7e9 (patch)
treedcb7762d37a0f3008c49edf70c0e026fc0b695ce /mock
parent705698670a7a5f57a2ad1e44c8e1240ede49aa06 (diff)
downloadJRummikub-dcf87994cb4cb5083e12e2acb55ec6cf42e4d7e9.tar
JRummikub-dcf87994cb4cb5083e12e2acb55ec6cf42e4d7e9.zip
Show side panel only ingame
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@487 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock')
-rw-r--r--mock/jrummikub/view/MockSidePanel.java16
-rw-r--r--mock/jrummikub/view/MockView.java11
2 files changed, 27 insertions, 0 deletions
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
+
+ }
+
}