mirror of
https://github.com/lov3b/Schack.git
synced 2024-11-10 07:00: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 {
|
private void transform(Piece[][] pieces) throws HeadlessException {
|
||||||
String[] transformations = {"Queen", "Rook", "Bishop", "Horse"};
|
String[] transformations = {"Queen", "Rook", "Bishop", "Horse"};
|
||||||
int choosenTransformations = JOptionPane.showOptionDialog(null,
|
int choosenTransformations = JOptionPane.showOptionDialog(null,
|
||||||
"What do you want to transform into?",
|
"What do you want to the pawn to transform into?",
|
||||||
"Click a button",
|
"Pawn about to transform",
|
||||||
JOptionPane.DEFAULT_OPTION,
|
JOptionPane.DEFAULT_OPTION,
|
||||||
JOptionPane.INFORMATION_MESSAGE,
|
JOptionPane.INFORMATION_MESSAGE,
|
||||||
null,
|
null,
|
||||||
|
Loading…
Reference in New Issue
Block a user