summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/view/MockGameListPanel.java
blob: d578df311eaee69469a7561aff700aeef8a56758 (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
package jrummikub.view;

import java.util.List;

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 setChannelName(String name) {
		// TODO Auto-generated method stub

	}

	@Override
	public void setGameList(List<GameData> games) {
		// TODO Auto-generated method stub

	}

}