diff options
Diffstat (limited to 'src/jrummikub/control/turn/ITurnControl.java')
-rw-r--r-- | src/jrummikub/control/turn/ITurnControl.java | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/jrummikub/control/turn/ITurnControl.java b/src/jrummikub/control/turn/ITurnControl.java new file mode 100644 index 0000000..8c80b1f --- /dev/null +++ b/src/jrummikub/control/turn/ITurnControl.java @@ -0,0 +1,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(); + +}
\ No newline at end of file |