35 lines
602 B
Java
35 lines
602 B
Java
![]() |
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;
|
||
|
}
|
||
|
}
|