summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/IGameListPanel.java
diff options
context:
space:
mode:
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);
}