mirror of
				https://github.com/lov3b/Schack.git
				synced 2025-11-04 07:00:21 +01:00 
			
		
		
		
	msg
This commit is contained in:
		@@ -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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user