blob: 175d95f68a094860a2fd2bf24bfa9e8b9aa3e18d (
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;
import jrummikub.util.IEvent;
/**
* Interface for the {@link TurnTimer}
*/
public interface ITurnTimer {
/**
* Starts the timer
*/
public abstract void startTimer();
/**
* Stops the timer. Stopping an already stopped timer is a no-op.
*/
public abstract void stopTimer();
/**
* Returns the event that is emitted if the timer timed out.
*
* @return time out event
*/
public abstract IEvent getTimeRunOutEvent();
}
|