StoneSetTest fertig

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@42 72836036-5685-4462-b002-a69064685172
This commit is contained in:
Ida Massow 2011-05-01 00:13:22 +02:00
parent d262d91b07
commit b8fa08c9bb
3 changed files with 100 additions and 12 deletions

View file

@ -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;