blob: 8a05546636d936454dd8fd6a598d4188e6cbf86e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
package jrummikub.view;
import java.util.List;
import jrummikub.util.GameData;
import jrummikub.util.IEvent;
import jrummikub.util.IEvent1;
/**
* Panel showing all offered games in the chosen channel
*/
public interface IGameListPanel {
/**
* Emitted when a new game is offered
*
* @return the event
*/
public IEvent getOpenNewGameEvent();
/**
* Emitted when the network game is canceled
*
* @return the event
*/
public IEvent getCancelEvent();
/**
* Emitted when the user chose to join an existing, open game
*
* @return the event
*/
public IEvent1<GameData> getJoinEvent();
/**
* Sets the channel name
*
* @param name
* channel name
*/
public void setChannelName(String name);
public void setGameList(List<GameData> games);
}
|