formatting and compiling

This commit is contained in:
Cool Guy
2026-04-21 16:20:03 +00:00
parent 76c4dea36a
commit 94e4377364
7 changed files with 103 additions and 106 deletions

View File

@@ -1,10 +1,9 @@
import java.awt.*;
import javax.swing.ImageIcon;
public class Pawn extends Piece{
public Pawn(int x, int y,String color){
super(x,y,new ImageIcon("Sprites/" + color + "/Pawn.png").getImage());
}
}
public class Pawn extends Piece {
public Pawn(int x, int y, String color) {
super(x, y, new ImageIcon("Sprites/" + color + "/pawn.png").getImage());
}
}