This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
JRummikub/src/jrummikub/control/turn/ITurnControl.java
Jannis Harder 73f6fb9c1b Created interface and abstract base class for turn control
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@307 72836036-5685-4462-b002-a69064685172
2011-05-29 19:46:50 +02:00

27 lines
No EOL
482 B
Java

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();
}