summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/control
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 /src/jrummikub/control
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 'src/jrummikub/control')
-rw-r--r--src/jrummikub/control/ApplicationControl.java1
-rw-r--r--src/jrummikub/control/GameControl.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/jrummikub/control/ApplicationControl.java b/src/jrummikub/control/ApplicationControl.java
index 1ed517f..2271526 100644
--- a/src/jrummikub/control/ApplicationControl.java
+++ b/src/jrummikub/control/ApplicationControl.java
@@ -123,6 +123,7 @@ public class ApplicationControl {
* Starts the application by showing the game settings dialog panel
*/
public void startApplication() {
+ view.showSidePanel(false);
view.showScorePanel(false);
view.setBottomPanel(BottomPanelType.START_GAME_PANEL);
saveControl.setGameSettings(null);
diff --git a/src/jrummikub/control/GameControl.java b/src/jrummikub/control/GameControl.java
index 7149464..babca99 100644
--- a/src/jrummikub/control/GameControl.java
+++ b/src/jrummikub/control/GameControl.java
@@ -98,6 +98,7 @@ public class GameControl {
*/
public void startGame() {
view.getSidePanel().setGameSettings(gameSettings);
+ view.showSidePanel(true);
startRound();
}