summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/view
diff options
context:
space:
mode:
Diffstat (limited to 'mock/jrummikub/view')
-rw-r--r--mock/jrummikub/view/MockPlayerPanel.java8
-rw-r--r--mock/jrummikub/view/MockView.java8
2 files changed, 8 insertions, 8 deletions
diff --git a/mock/jrummikub/view/MockPlayerPanel.java b/mock/jrummikub/view/MockPlayerPanel.java
index f193fa1..13dbb57 100644
--- a/mock/jrummikub/view/MockPlayerPanel.java
+++ b/mock/jrummikub/view/MockPlayerPanel.java
@@ -10,19 +10,11 @@ public class MockPlayerPanel implements IPlayerPanel {
/** */
public MockEvent endTurnEvent = new MockEvent();
/** */
- public MockHandPanel handPanel = new MockHandPanel();
- /** */
public MockEvent sortByGroupsEvent = new MockEvent();
/** */
public MockEvent sortByRunsEvent = new MockEvent();
@Override
- public IHandPanel getHandPanel() {
- // TODO Auto-generated method stub
- return handPanel;
- }
-
- @Override
public void setTimeLeft(int time) {
// TODO Auto-generated method stub
diff --git a/mock/jrummikub/view/MockView.java b/mock/jrummikub/view/MockView.java
index f0337f3..1f8c9a8 100644
--- a/mock/jrummikub/view/MockView.java
+++ b/mock/jrummikub/view/MockView.java
@@ -5,6 +5,7 @@ import java.util.Collection;
import jrummikub.model.Stone;
import jrummikub.util.IEvent;
import jrummikub.util.MockEvent;
+
/**
* Mock class for View
*/
@@ -13,6 +14,8 @@ public class MockView implements IView {
public MockPlayerPanel playerPanel = new MockPlayerPanel();
/** */
public MockTablePanel tablePanel = new MockTablePanel();
+ /** */
+ public MockHandPanel handPanel = new MockHandPanel();
/** */
public Collection<Stone> selectedStones;
@@ -42,6 +45,11 @@ public class MockView implements IView {
}
@Override
+ public MockHandPanel getHandPanel() {
+ return handPanel;
+ }
+
+ @Override
public void setCurrentPlayerName(String playerName) {
currentPlayerName = playerName;
}