summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/IView.java
diff options
context:
space:
mode:
authorIda Massow <massow@informatik.uni-luebeck.de>2011-06-10 16:00:03 +0200
committerIda Massow <massow@informatik.uni-luebeck.de>2011-06-10 16:00:03 +0200
commit9c281a73c0a3470289a9f96cecb42b02554aa44d (patch)
treea9103c50b5e64d68d0a20d8a4435390b8b7ba95c /src/jrummikub/view/IView.java
parente7ee6778b020b555ce5e4a2e96d850b19ba02e35 (diff)
downloadJRummikub-9c281a73c0a3470289a9f96cecb42b02554aa44d.tar
JRummikub-9c281a73c0a3470289a9f96cecb42b02554aa44d.zip
View-Komponente des Logins für Netzwerk-Spiele
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@396 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/view/IView.java')
-rw-r--r--src/jrummikub/view/IView.java31
1 files changed, 19 insertions, 12 deletions
diff --git a/src/jrummikub/view/IView.java b/src/jrummikub/view/IView.java
index 0ee2753..722d89b 100644
--- a/src/jrummikub/view/IView.java
+++ b/src/jrummikub/view/IView.java
@@ -49,7 +49,7 @@ public interface IView {
* Sets the current player's name
*
* @param playerName
- * the player name
+ * the player name
*/
public void setCurrentPlayerName(String playerName);
@@ -57,7 +57,7 @@ public interface IView {
* Sets the stones that are to be painted selected
*
* @param stones
- * the stones to be painted selected
+ * the stones to be painted selected
*/
public void setSelectedStones(Collection<Stone> stones);
@@ -86,7 +86,7 @@ public interface IView {
* Shows or hides the game settings panel
*
* @param show
- * specifies if the panel shall be shown or hidden
+ * specifies if the panel shall be shown or hidden
*/
public void showSettingsPanel(boolean show);
@@ -94,7 +94,7 @@ public interface IView {
* Shows or hides the score panel
*
* @param show
- * specifies if the panel shall be shown or hidden
+ * specifies if the panel shall be shown or hidden
*/
public void showScorePanel(boolean show);
@@ -103,16 +103,16 @@ public interface IView {
* along with the name
*
* @param color
- * the current player's color
+ * the current player's color
*/
public void setCurrentPlayerColor(Color color);
/**
- * Is used for the PlayerPanel to display if a player has laid out along with
- * the name
+ * Is used for the PlayerPanel to display if a player has laid out along
+ * with the name
*
* @param hasLaidOut
- * specifies if the current player has laid out or not
+ * specifies if the current player has laid out or not
*/
public void setCurrentPlayerHasLaidOut(boolean hasLaidOut);
@@ -127,13 +127,13 @@ public interface IView {
* Sets the bottom panels type
*
* @param type
- * the type of the bottom panel
+ * the type of the bottom panel
*/
public void setBottomPanel(BottomPanelType type);
/**
- * The menu new game event is emitted when the user selects the new game menu
- * entry
+ * The menu new game event is emitted when the user selects the new game
+ * menu entry
*
* @return the event
*/
@@ -168,7 +168,13 @@ public interface IView {
public void clearView();
- void enablePauseMode(boolean enable);
+ public IEvent getNetworkGameEvent();
+
+ public ILoginPanel getLoginPanel();
+
+ public void showLoginPanel(boolean show);
+
+ public void enablePauseMode(boolean enable);
/**
* Different types of bottom panels
@@ -185,4 +191,5 @@ public interface IView {
/** */
WIN_PANEL
}
+
}