summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/control/TurnControl.java
blob: 9bedfae84217e732361f05f3c319b731ca439159 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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;
	}
}