summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/control/TurnControl.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/control/TurnControl.java')
-rw-r--r--src/jrummikub/control/TurnControl.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/jrummikub/control/TurnControl.java b/src/jrummikub/control/TurnControl.java
new file mode 100644
index 0000000..9bedfae
--- /dev/null
+++ b/src/jrummikub/control/TurnControl.java
@@ -0,0 +1,34 @@
+package jrummikub.control;
+
+
+import jrummikub.model.Hand;
+import jrummikub.model.Table;
+import jrummikub.util.Event;
+import jrummikub.util.IEvent;
+import jrummikub.view.IView;
+
+public class TurnControl {
+ private Hand hand;
+ private Table table;
+ private TurnTimer timer;
+ private IView view;
+ private Event endOfTurnEvent = new Event();
+
+ public TurnControl(Hand hand, Table table, IView view) {
+ this.hand = hand;
+ this.table = table;
+ this.view = view;
+ }
+
+ private void sortByValue() {
+
+ }
+
+ private void sortByColor() {
+
+ }
+
+ public IEvent getEndOfTurnEvent() {
+ return endOfTurnEvent;
+ }
+}