
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@213 72836036-5685-4462-b002-a69064685172
27 lines
No EOL
470 B
Java
27 lines
No EOL
470 B
Java
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();
|
|
|
|
} |