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:
parent
7edb66d4ff
commit
bcc3f95847
11 changed files with 209 additions and 85 deletions
|
@ -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 + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue