color
This commit is contained in:
parent
1114622c03
commit
d55d89db89
|
|
@ -0,0 +1,9 @@
|
|||
BR, ,BB,BQ,BK, , ,BR
|
||||
BP,BP,BP,BP, ,BP,BP,BP
|
||||
, ,BN,BB, ,BP, ,
|
||||
, , , ,WN, , ,
|
||||
, , , , , , ,
|
||||
, , , , , , ,
|
||||
WP,WP,WP,WP,WP,WP,WP,WP
|
||||
WR, ,WB,WQ,WK,WB, ,WR
|
||||
9B
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
|
|
@ -80,7 +80,7 @@ public class JPanelChessBoard extends JPanel {
|
|||
@Override
|
||||
protected void paintComponent(Graphics g) {
|
||||
super.paintComponent(g);
|
||||
this.setBackground(Color.black);
|
||||
this.setBackground(new Color(118, 150, 86));
|
||||
if(pieceSelectorMode) {
|
||||
g.drawImage(
|
||||
spriteSheet,
|
||||
|
|
@ -117,7 +117,7 @@ public class JPanelChessBoard extends JPanel {
|
|||
);
|
||||
}
|
||||
if(isHighlight || isSelect) {
|
||||
g.setColor(Color.white);
|
||||
g.setColor(new Color(238,238,210));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue