diff options
Diffstat (limited to 'src/jrummikub/view/IView.java')
-rw-r--r-- | src/jrummikub/view/IView.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/jrummikub/view/IView.java b/src/jrummikub/view/IView.java index b1241c7..12475b5 100644 --- a/src/jrummikub/view/IView.java +++ b/src/jrummikub/view/IView.java @@ -112,9 +112,26 @@ public interface IView { */ public void showScorePanel(boolean show); + /** + * Is used for the PlayerPanel and ScorePanel to display a player's color + * along with the name + * + * @param color + */ public void setCurrentPlayerColor(Color color); + /** + * Is used for the PlayerPanel to display if a player has laid out along + * with the name + * + * @param hasLaidOut + */ public void setHasLaidOut(boolean hasLaidOut); + /** + * Is emitted if the player wants to end the game and start a new one + * + * @return newGameEvent + */ IEvent getNewGameEvent(); } |