Stone-Klasse

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@6 72836036-5685-4462-b002-a69064685172
This commit is contained in:
Ida Massow 2011-04-28 15:41:19 +02:00
parent 793ec9885f
commit 7f0b5f9b78

View file

@ -0,0 +1,26 @@
package jrummikub.model;
public class Stone {
private int value;
private StoneColor color;
private final boolean joker;
Stone(int value, StoneColor color, boolean joker) {
this.value = value;
this.color = color;
this.joker = joker;
}
public StoneColor getColor() {
return color;
}
public boolean isJoker() {
return joker;
}
public int getValue() {
return value;
}
}