Remove return value of Table.pickUpStone()
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@229 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
fa00c661d5
commit
85b5470c05
7 changed files with 20 additions and 21 deletions
|
@ -15,7 +15,9 @@ public class MockPlayer implements IPlayer {
|
|||
|
||||
/**
|
||||
* @param name
|
||||
* @param color
|
||||
* the player name
|
||||
* @param color
|
||||
* the player color
|
||||
*/
|
||||
public MockPlayer(String name, Color color) {
|
||||
hand = new MockHand();
|
||||
|
|
|
@ -22,9 +22,8 @@ public class MockTable implements ITable {
|
|||
public List<Pair<StoneSet, Position>> sets = new ArrayList<Pair<StoneSet, Position>>();
|
||||
|
||||
@Override
|
||||
public Pair<StoneSet, StoneSet> pickUpStone(Stone stone) {
|
||||
public void pickUpStone(Stone stone) {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -6,7 +6,7 @@ import java.util.HashSet;
|
|||
* Mock class for Event1s
|
||||
*
|
||||
* @param <T>
|
||||
* event type
|
||||
* event type
|
||||
*/
|
||||
public class MockEvent1<T> implements IEvent1<T> {
|
||||
/** */
|
||||
|
@ -31,6 +31,7 @@ public class MockEvent1<T> implements IEvent1<T> {
|
|||
|
||||
/**
|
||||
* @param value
|
||||
* the event parameter
|
||||
*/
|
||||
public void emit(T value) {
|
||||
for (IListener1<T> listener : listeners) {
|
||||
|
|
|
@ -6,9 +6,9 @@ import java.util.HashSet;
|
|||
* Mock class for Event2s
|
||||
*
|
||||
* @param <T1>
|
||||
* first event type
|
||||
* first event type
|
||||
* @param <T2>
|
||||
* second event type
|
||||
* second event type
|
||||
*/
|
||||
public class MockEvent2<T1, T2> implements IEvent2<T1, T2> {
|
||||
/** */
|
||||
|
@ -33,7 +33,9 @@ public class MockEvent2<T1, T2> implements IEvent2<T1, T2> {
|
|||
|
||||
/**
|
||||
* @param value1
|
||||
* the first event parameter
|
||||
* @param value2
|
||||
* the second event parameter
|
||||
*/
|
||||
public void emit(T1 value1, T2 value2) {
|
||||
for (IListener2<T1, T2> listener : listeners) {
|
||||
|
|
Reference in a new issue