StoneSetTest fertig
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@42 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
d262d91b07
commit
b8fa08c9bb
3 changed files with 100 additions and 12 deletions
|
@ -7,6 +7,18 @@ public class Stone {
|
|||
private StoneColor color;
|
||||
private final boolean joker;
|
||||
|
||||
public Stone(StoneColor color) {
|
||||
this.value = 0;
|
||||
this.color = color;
|
||||
this.joker = true;
|
||||
}
|
||||
|
||||
public Stone(int value, StoneColor color) {
|
||||
this.value = value;
|
||||
this.color = color;
|
||||
this.joker = false;
|
||||
}
|
||||
|
||||
public Stone(int value, StoneColor color, boolean joker) {
|
||||
this.value = value;
|
||||
this.color = color;
|
||||
|
|
Reference in a new issue