diff options
Diffstat (limited to 'src/jrummikub/view/ITable.java')
-rw-r--r-- | src/jrummikub/view/ITable.java | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/jrummikub/view/ITable.java b/src/jrummikub/view/ITable.java index b5412cb..258263a 100644 --- a/src/jrummikub/view/ITable.java +++ b/src/jrummikub/view/ITable.java @@ -6,13 +6,43 @@ import jrummikub.model.Position; import jrummikub.model.StoneSet; public interface ITable extends IClickable { + /** + * Sets the player name on the left label + * + * @param playerName + * the name to set + */ public void setLeftPlayerName(String playerName); + /** + * Sets the player name on the top label + * + * @param playerName + * the name to set + */ public void setTopPlayerName(String playerName); + /** + * Sets the player name on the right label + * + * @param playerName + * the name to set + */ public void setRightPlayerName(String playerName); + /** + * Sets the stone sets lying on the table + * + * @param stoneSets + * set stone sets on the table + */ public void setStoneSets(Map<StoneSet, Position> stoneSets); + /** + * Returns the stone collection (the panel showing the stones currently + * selected) + * + * @return the stone collection + */ IStoneCollection getStoneCollection(); } |