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 {
 | 
					    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,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user