diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-06-08 21:58:16 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-06-08 21:58:16 +0200 |
commit | 45d5b3ae10ed8cfbecb5489636093c6fb0576970 (patch) | |
tree | 1aa1c012f46fe204d997e8c6896940800f5461bb /src/jrummikub/control/SaveControl.java | |
parent | 2e376414b941da3c6fa3c20ddad085c695175542 (diff) | |
download | JRummikub-45d5b3ae10ed8cfbecb5489636093c6fb0576970.tar JRummikub-45d5b3ae10ed8cfbecb5489636093c6fb0576970.zip |
Implement pause function
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@390 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/control/SaveControl.java')
-rw-r--r-- | src/jrummikub/control/SaveControl.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/jrummikub/control/SaveControl.java b/src/jrummikub/control/SaveControl.java index e0589e6..1412199 100644 --- a/src/jrummikub/control/SaveControl.java +++ b/src/jrummikub/control/SaveControl.java @@ -27,7 +27,7 @@ public class SaveControl { * Creates a new SaveControl * * @param view - * the view to use + * the view to use */ public SaveControl(IView view) { view.getSaveEvent().add(new IListener1<File>() { @@ -53,7 +53,7 @@ public class SaveControl { * Sets the current game settings * * @param gameSettings - * the game settings + * the game settings */ public void setGameSettings(GameSettings gameSettings) { this.gameSettings = gameSettings; @@ -63,7 +63,7 @@ public class SaveControl { * Sets the current game state * * @param gameState - * the game state + * the game state */ public void setGameState(GameState gameState) { this.gameState = gameState; @@ -73,7 +73,7 @@ public class SaveControl { * Sets the current round state * * @param roundState - * the round state + * the round state */ public void setRoundState(IRoundState roundState) { this.roundState = roundState; @@ -110,8 +110,8 @@ public class SaveControl { return; } try { - ObjectOutputStream stream = new ObjectOutputStream( - new FileOutputStream(file)); + ObjectOutputStream stream = new ObjectOutputStream(new FileOutputStream( + file)); stream.writeObject(gameSettings); stream.writeObject(gameState); |