summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/control/RoundControl.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/control/RoundControl.java')
-rw-r--r--src/jrummikub/control/RoundControl.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jrummikub/control/RoundControl.java b/src/jrummikub/control/RoundControl.java
index c46d402..07adb99 100644
--- a/src/jrummikub/control/RoundControl.java
+++ b/src/jrummikub/control/RoundControl.java
@@ -6,7 +6,7 @@ import java.util.List;
import java.util.Set;
import jrummikub.model.Hand;
-import jrummikub.model.IGameState;
+import jrummikub.model.IRoundState;
import jrummikub.model.IHand;
import jrummikub.model.ITable;
import jrummikub.model.Position;
@@ -23,7 +23,7 @@ import jrummikub.view.IView;
* Controller that manages a single round of rummikub
*/
public class RoundControl {
- private IGameState gameState;
+ private IRoundState gameState;
private IView view;
private ITable clonedTable;
private Event endRoundEvent = new Event();
@@ -37,7 +37,7 @@ public class RoundControl {
* @param view
* view used for user interaction
*/
- public RoundControl(IGameState gameState, IView view) {
+ public RoundControl(IRoundState gameState, IView view) {
this.gameState = gameState;
this.view = view;
}