
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@127 72836036-5685-4462-b002-a69064685172
88 lines
2 KiB
Java
88 lines
2 KiB
Java
package jrummikub.view;
|
|
|
|
import java.util.Map;
|
|
|
|
import jrummikub.model.Position;
|
|
import jrummikub.model.Stone;
|
|
import jrummikub.model.StoneSet;
|
|
import jrummikub.util.Event1;
|
|
import jrummikub.util.Event2;
|
|
import jrummikub.util.IEvent1;
|
|
import jrummikub.util.IEvent2;
|
|
import jrummikub.util.Pair;
|
|
|
|
public class MockTablePanel implements ITablePanel {
|
|
|
|
public Event2<Stone, Boolean> stoneClickEvent = new Event2<Stone, Boolean>();
|
|
public Event2<Stone, Boolean> setClickEvent = new Event2<Stone, Boolean>();
|
|
public Event2<Stone, Boolean> rangeClickEvent = new Event2<Stone, Boolean>();
|
|
|
|
public MockStoneCollectionPanel stoneCollectionPanel = new MockStoneCollectionPanel();
|
|
public String leftPlayerName;
|
|
public String topPlayerName;
|
|
public String rightPlayerName;
|
|
|
|
@Override
|
|
public IEvent2<Stone, Boolean> getStoneClickEvent() {
|
|
// TODO Auto-generated method stub
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public IEvent2<Stone, Boolean> getRangeClickEvent() {
|
|
// TODO Auto-generated method stub
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public IEvent2<Stone, Boolean> getSetClickEvent() {
|
|
// TODO Auto-generated method stub
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public IEvent1<Position> getClickEvent() {
|
|
// TODO Auto-generated method stub
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public void setLeftPlayerName(String playerName) {
|
|
leftPlayerName = playerName;
|
|
}
|
|
|
|
@Override
|
|
public void setTopPlayerName(String playerName) {
|
|
topPlayerName = playerName;
|
|
}
|
|
|
|
@Override
|
|
public void setRightPlayerName(String playerName) {
|
|
rightPlayerName = playerName;
|
|
}
|
|
|
|
@Override
|
|
public void setStoneSets(Iterable<Pair<StoneSet, Position>> stoneSets) {
|
|
// TODO Auto-generated method stub
|
|
|
|
}
|
|
|
|
@Override
|
|
public IStoneCollectionPanel getStoneCollectionPanel() {
|
|
// TODO Auto-generated method stub
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public Event1<StoneSet> getLeftConnectorClickEvent() {
|
|
// TODO Auto-generated method stub
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public Event1<StoneSet> getRightConnectorClickEvent() {
|
|
// TODO Auto-generated method stub
|
|
return null;
|
|
}
|
|
|
|
}
|