summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/control/turn/ITurnControl.java
blob: 8c80b1fc6bf8089a72303dc0d7e7cd66f63a816b (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
package jrummikub.control.turn;

import jrummikub.util.Event;
import jrummikub.util.IEvent;

public interface ITurnControl {

	/**
	 * Start the turn
	 */
	public abstract void startTurn();

	/**
	 * Get the event that is emitted when the turn is over
	 * 
	 * @return end of turn event
	 */
	public abstract IEvent getEndOfTurnEvent();

	/**
	 * Emitted when the round is aborted and needs to be restarted
	 * 
	 * @return the event
	 */
	public abstract Event getRedealEvent();

}