Anfang von rauskommen im Player gebaut, test angefangen
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@248 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
c4c091eb61
commit
d0a7014577
2 changed files with 10 additions and 0 deletions
|
@ -12,6 +12,8 @@ public class MockPlayer implements IPlayer {
|
||||||
public String name;
|
public String name;
|
||||||
/** */
|
/** */
|
||||||
public Color color;
|
public Color color;
|
||||||
|
/** */
|
||||||
|
public boolean cameOut;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param name
|
* @param name
|
||||||
|
@ -23,8 +25,14 @@ public class MockPlayer implements IPlayer {
|
||||||
hand = new Hand();
|
hand = new Hand();
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.color = color;
|
this.color = color;
|
||||||
|
this.cameOut=false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean getCameOut() {
|
||||||
|
return cameOut;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public IHand getHand() {
|
public IHand getHand() {
|
||||||
return hand;
|
return hand;
|
||||||
|
|
|
@ -28,4 +28,6 @@ public interface IPlayer {
|
||||||
*/
|
*/
|
||||||
public String getName();
|
public String getName();
|
||||||
|
|
||||||
|
boolean getCameOut();
|
||||||
|
|
||||||
}
|
}
|
Reference in a new issue