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 Color color;
|
||||
/** */
|
||||
public boolean cameOut;
|
||||
|
||||
/**
|
||||
* @param name
|
||||
|
@ -23,8 +25,14 @@ public class MockPlayer implements IPlayer {
|
|||
hand = new Hand();
|
||||
this.name = name;
|
||||
this.color = color;
|
||||
this.cameOut=false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getCameOut() {
|
||||
return cameOut;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IHand getHand() {
|
||||
return hand;
|
||||
|
|
|
@ -28,4 +28,6 @@ public interface IPlayer {
|
|||
*/
|
||||
public String getName();
|
||||
|
||||
boolean getCameOut();
|
||||
|
||||
}
|
Reference in a new issue