diff options
Diffstat (limited to 'mock')
-rw-r--r-- | mock/jrummikub/view/MockSettingsPanel.java | 9 | ||||
-rw-r--r-- | mock/jrummikub/view/MockView.java | 12 |
2 files changed, 17 insertions, 4 deletions
diff --git a/mock/jrummikub/view/MockSettingsPanel.java b/mock/jrummikub/view/MockSettingsPanel.java index 7bed40f..0e7dbf8 100644 --- a/mock/jrummikub/view/MockSettingsPanel.java +++ b/mock/jrummikub/view/MockSettingsPanel.java @@ -77,6 +77,12 @@ public class MockSettingsPanel implements ISettingsPanel { /** */ public int highestValue; /** */ + public int totalTime; + /** */ + public boolean noLimits; + /** */ + public boolean seeHandSize; + /** */ public Set<StoneColor> stoneColors; /** */ public MockEvent backEvent = new MockEvent(); @@ -159,6 +165,9 @@ public class MockSettingsPanel implements ISettingsPanel { stoneSetNumber = gameSettings.getStoneSetNumber(); numberOfStonesDealt = gameSettings.getNumberOfStonesDealt(); highestValue = gameSettings.getHighestValue(); + totalTime = gameSettings.getTotalTime(); + noLimits = gameSettings.isNoLimits(); + seeHandSize = gameSettings.getSeeHandSize(); stoneColors = new HashSet<StoneColor>(gameSettings.getStoneColors()); } diff --git a/mock/jrummikub/view/MockView.java b/mock/jrummikub/view/MockView.java index 8dc261b..e664c67 100644 --- a/mock/jrummikub/view/MockView.java +++ b/mock/jrummikub/view/MockView.java @@ -49,6 +49,12 @@ public class MockView implements IView { public boolean isConnectPanelVisible = false; /** */ public boolean pauseModeEnabled = false; + /** */ + public boolean isPaused = false; + /** */ + public boolean savingEnabled = false; + /** */ + public boolean loadingError = false; /** */ public Collection<Stone> selectedStones; @@ -290,14 +296,12 @@ public class MockView implements IView { @Override public void showLoadingError() { - // TODO Auto-generated method stub - + loadingError = true; } @Override public void enableSave(boolean enable) { - // TODO Auto-generated method stub - + savingEnabled = enable; } @Override |