summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/IPlayerPanel.java
diff options
context:
space:
mode:
authorBennet Gerlach <bennet_gerlach@web.de>2011-05-04 15:40:34 +0200
committerBennet Gerlach <bennet_gerlach@web.de>2011-05-04 15:40:34 +0200
commite39a539ee38a1413aac9f09a556a9ca4a181bc39 (patch)
tree7dfaf1623cf6e8f620790f150f14a9c124ad9938 /src/jrummikub/view/IPlayerPanel.java
parenta0a32b4f2df05b973c3f235508ef52b510873e19 (diff)
downloadJRummikub-e39a539ee38a1413aac9f09a556a9ca4a181bc39.tar
JRummikub-e39a539ee38a1413aac9f09a556a9ca4a181bc39.zip
Added StartTurnPanel
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@102 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/view/IPlayerPanel.java')
-rw-r--r--src/jrummikub/view/IPlayerPanel.java70
1 files changed, 31 insertions, 39 deletions
diff --git a/src/jrummikub/view/IPlayerPanel.java b/src/jrummikub/view/IPlayerPanel.java
index dd24e33..86c1440 100644
--- a/src/jrummikub/view/IPlayerPanel.java
+++ b/src/jrummikub/view/IPlayerPanel.java
@@ -6,47 +6,39 @@ import jrummikub.util.IEvent;
* The player panel that contains a player's board and other user interfaces
*/
public interface IPlayerPanel {
- /**
- * @return the board where the players hand stones are displayed
- */
- public IHandPanel getHandPanel();
+ /**
+ * @return the board where the players hand stones are displayed
+ */
+ public IHandPanel getHandPanel();
- /**
- * Sets the current player's name
- *
- * @param playerName
- * the player name
- */
- public void setCurrentPlayerName(String playerName);
+ /**
+ * Sets the time the player has left for his turn
+ *
+ * @param time
+ * the time left
+ */
+ public void setTimeLeft(int time);
- /**
- * Sets the time the player has left for his turn
- *
- * @param time
- * the time left
- */
- public void setTimeLeft(int time);
+ /**
+ * The sort by groups event is emitted when the player wants to sort his
+ * stones by groups
+ *
+ * @return the event
+ */
+ public IEvent getSortByGroupsEvent();
- /**
- * The sort by groups event is emitted when the player wants to sort his
- * stones by groups
- *
- * @return the event
- */
- public IEvent getSortByGroupsEvent();
+ /**
+ * The sort by runs event is emitted when the player wants to sort his stones
+ * by runs
+ *
+ * @return the event
+ */
+ public IEvent getSortByRunsEvent();
- /**
- * The sort by runs event is emitted when the player wants to sort his stones
- * by runs
- *
- * @return the event
- */
- public IEvent getSortByRunsEvent();
-
- /**
- * The end turn event is emitted when the player wants to end his turn
- *
- * @return the event
- */
- public IEvent getEndTurnEvent();
+ /**
+ * The end turn event is emitted when the player wants to end his turn
+ *
+ * @return the event
+ */
+ public IEvent getEndTurnEvent();
}