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

import jrummikub.model.Stone;
import jrummikub.util.Event2;
import jrummikub.util.IEvent2;

/**
 * Mock class for StoneCollectionPanel
 */
public class MockStoneCollectionPanel implements IStoneCollectionPanel {
	/** */
	public Event2<Stone, Boolean> stoneClickEvent = new Event2<Stone, Boolean>();
	/** */
	public Event2<Stone, Boolean> setClickEvent = new Event2<Stone, Boolean>();

	@Override
	public IEvent2<Stone, Boolean> getStoneClickEvent() {
		return stoneClickEvent;
	}

	@Override
	public IEvent2<Stone, Boolean> getRangeClickEvent() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public IEvent2<Stone, Boolean> getSetClickEvent() {
		return setClickEvent;
	}

	@Override
	public void setHidden(boolean enable) {
		// TODO Auto-generated method stub
		
	}

}