Show side panel only ingame
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@487 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
705698670a
commit
dcf87994cb
7 changed files with 49 additions and 3 deletions
16
mock/jrummikub/view/MockSidePanel.java
Normal file
16
mock/jrummikub/view/MockSidePanel.java
Normal file
|
@ -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
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -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
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Reference in a new issue