summaryrefslogtreecommitdiffstats
path: root/mock
diff options
context:
space:
mode:
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
+
+ }
+
}