mirror of
https://github.com/lov3b/Schack.git
synced 2025-01-18 04:40:11 +01:00
msg
This commit is contained in:
parent
ae692d1428
commit
9f10fc6dcd
@ -123,8 +123,8 @@ public class Pawn extends Piece {
|
||||
private void transform(Piece[][] pieces) throws HeadlessException {
|
||||
String[] transformations = {"Queen", "Rook", "Bishop", "Horse"};
|
||||
int choosenTransformations = JOptionPane.showOptionDialog(null,
|
||||
"What do you want to transform into?",
|
||||
"Click a button",
|
||||
"What do you want to the pawn to transform into?",
|
||||
"Pawn about to transform",
|
||||
JOptionPane.DEFAULT_OPTION,
|
||||
JOptionPane.INFORMATION_MESSAGE,
|
||||
null,
|
||||
|
Loading…
x
Reference in New Issue
Block a user