diff options
Diffstat (limited to 'src/jrummikub/view/impl/PlayerPanel.java')
-rw-r--r-- | src/jrummikub/view/impl/PlayerPanel.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/jrummikub/view/impl/PlayerPanel.java b/src/jrummikub/view/impl/PlayerPanel.java index 111ec1a..b7bdb32 100644 --- a/src/jrummikub/view/impl/PlayerPanel.java +++ b/src/jrummikub/view/impl/PlayerPanel.java @@ -50,6 +50,11 @@ class PlayerPanel extends JPanel implements IPlayerPanel { return hand; } + /** + * Sets the current player name + * + * @param playerName the player name + */ void setCurrentPlayerName(String playerName) { currentPlayerNameLabel.setText(playerName); } |