Fix board color
This commit is contained in:
parent
e41f775d32
commit
2ae4296d7d
|
|
@ -97,7 +97,7 @@ public class JPanelChessBoard extends JPanel {
|
||||||
float cellWidth = cellWidth();
|
float cellWidth = cellWidth();
|
||||||
float cellHeight = cellHeight();
|
float cellHeight = cellHeight();
|
||||||
|
|
||||||
g.setColor(Color.white);
|
g.setColor(new Color(238,238,210));
|
||||||
for(int x=0; x<myGame.getWidth();x++) {
|
for(int x=0; x<myGame.getWidth();x++) {
|
||||||
for (int y=0; y<myGame.getHeight(); y++) {
|
for (int y=0; y<myGame.getHeight(); y++) {
|
||||||
boolean isSelect = myGame.isSelected(x,y);
|
boolean isSelect = myGame.isSelected(x,y);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue