Make StonePanel emit Stone click events

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@80 72836036-5685-4462-b002-a69064685172
This commit is contained in:
Matthias Schiffer 2011-05-03 17:29:52 +02:00
parent 7edb66d4ff
commit bcc3f95847
11 changed files with 209 additions and 85 deletions

View file

@ -71,4 +71,12 @@ public class Stone implements Sizeable {
return 1;
}
@Override
public String toString() {
if (joker) {
return "Stone[joker,color=" + color + "]";
} else {
return "Stone[value=" + value + ",color=" + color + "]";
}
}
}