summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/view/MockGameListPanel.java
blob: 1a7bb09ea336c865d45f4b7a1e0d9218866d4893 (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
44
45
46
47
48
package jrummikub.view;

import jrummikub.util.GameData;
import jrummikub.util.IEvent;
import jrummikub.util.IEvent1;
import jrummikub.util.MockEvent;
import jrummikub.util.MockEvent1;

/** */
public class MockGameListPanel implements IGameListPanel {
	public MockEvent1<GameData> joinEvent = new MockEvent1<GameData>();
	public MockEvent openNewGameEvent = new MockEvent();
	public MockEvent cancelEvent = new MockEvent();

	@Override
	public IEvent getOpenNewGameEvent() {
		return openNewGameEvent;
	}

	@Override
	public IEvent getCancelEvent() {
		return cancelEvent;
	}

	@Override
	public IEvent1<GameData> getJoinEvent() {
		return joinEvent;
	}

	@Override
	public void removeGame(GameData game) {
		// TODO Auto-generated method stub

	}

	@Override
	public void addGame(GameData game) {
		// TODO Auto-generated method stub

	}

	@Override
	public void setChannelName(String name) {
		// TODO Auto-generated method stub

	}

}