formatting and compiling
This commit is contained in:
13
Pawn.java
13
Pawn.java
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user