summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/IGameListPanel.java
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-06-14 17:57:19 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-06-14 17:57:19 +0200
commitc84bebceb7690410c33ae15f61ca2e01c79342b8 (patch)
treebab7fd801accc0299605422ed523cea3e1bc4206 /src/jrummikub/view/IGameListPanel.java
parent99c3d48f1021e59d8db0873ae9b626594954e44f (diff)
downloadJRummikub-c84bebceb7690410c33ae15f61ca2e01c79342b8.tar
JRummikub-c84bebceb7690410c33ae15f61ca2e01c79342b8.zip
Fix some GUI bugs in network related panels
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@439 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/view/IGameListPanel.java')
-rw-r--r--src/jrummikub/view/IGameListPanel.java22
1 files changed, 5 insertions, 17 deletions
diff --git a/src/jrummikub/view/IGameListPanel.java b/src/jrummikub/view/IGameListPanel.java
index 51d6616..8a05546 100644
--- a/src/jrummikub/view/IGameListPanel.java
+++ b/src/jrummikub/view/IGameListPanel.java
@@ -1,5 +1,7 @@
package jrummikub.view;
+import java.util.List;
+
import jrummikub.util.GameData;
import jrummikub.util.IEvent;
import jrummikub.util.IEvent1;
@@ -30,26 +32,12 @@ public interface IGameListPanel {
public IEvent1<GameData> getJoinEvent();
/**
- * Emitted when an open game is removed by the host
- *
- * @param game
- * game data of the open game
- */
- public void removeGame(GameData game);
-
- /**
- * Adds a game to the list of open games
- *
- * @param game
- * game data of the new game
- */
- public void addGame(GameData game);
-
- /**
* Sets the channel name
*
* @param name
- * channel name
+ * channel name
*/
public void setChannelName(String name);
+
+ public void setGameList(List<GameData> games);
}