Change of pieces sprite
This commit is contained in:
parent
d480cc6089
commit
3fa8767152
BIN
pieces.png
BIN
pieces.png
Binary file not shown.
|
Before Width: | Height: | Size: 954 B After Width: | Height: | Size: 33 KiB |
|
|
@ -22,8 +22,8 @@ public class JPanelChessBoard extends JPanel {
|
||||||
private Game myGame;
|
private Game myGame;
|
||||||
private MyInterface interfaceGlobal;
|
private MyInterface interfaceGlobal;
|
||||||
private BufferedImage spriteSheet;
|
private BufferedImage spriteSheet;
|
||||||
private int PIECE_WIDTH = 16; //in spritesheet
|
private int PIECE_WIDTH = 64; //in spritesheet
|
||||||
private int PIECE_HEIGHT = 16; //in spritesheet
|
private int PIECE_HEIGHT = 64; //in spritesheet
|
||||||
private int MARGIN = 6;
|
private int MARGIN = 6;
|
||||||
|
|
||||||
private boolean pieceSelectorMode;
|
private boolean pieceSelectorMode;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue