summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/control/GameControl.java
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-05-24 01:51:53 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-05-24 01:51:53 +0200
commitd9a0b0e37dbdde6d60fa4ee41c2a100547e7824b (patch)
tree3d711c9b7d75ebdda72966d7cfaf72d92fe12216 /src/jrummikub/control/GameControl.java
parentb20961b89dd07be5ac2ff3b7fd1132eca0944ac4 (diff)
downloadJRummikub-d9a0b0e37dbdde6d60fa4ee41c2a100547e7824b.tar
JRummikub-d9a0b0e37dbdde6d60fa4ee41c2a100547e7824b.zip
Implemented special case round end (heap empty)
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@262 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/control/GameControl.java')
-rw-r--r--src/jrummikub/control/GameControl.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jrummikub/control/GameControl.java b/src/jrummikub/control/GameControl.java
index b5d763a..1d93c63 100644
--- a/src/jrummikub/control/GameControl.java
+++ b/src/jrummikub/control/GameControl.java
@@ -1,6 +1,7 @@
package jrummikub.control;
import jrummikub.model.GameSettings;
+import jrummikub.model.IRoundState;
import jrummikub.model.RoundState;
import jrummikub.util.IListener;
import jrummikub.view.IView;
@@ -51,7 +52,7 @@ public class GameControl {
return;
}
- RoundState roundState = new RoundState(gameSettings);
+ IRoundState roundState = new RoundState(gameSettings);
roundControl = new RoundControl(roundState, view);
roundControl.getEndRoundEvent().add(new IListener() {