summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/control/turn/AbstractTurnControl.java
blob: 9e3b069fad3d2234edbf7fb096cf774ace140062 (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;

/**
 * Abstract base class for TurnControls 
 */
public abstract class AbstractTurnControl implements ITurnControl {

	protected Event endOfTurnEvent = new Event();
	protected Event redealEvent = new Event();

	@Override
	public abstract void startTurn();

	@Override
	public IEvent getEndOfTurnEvent() {
		return endOfTurnEvent;
	}

	@Override
	public Event getRedealEvent() {
		return redealEvent;
	}

}