This commit is contained in:
@@ -60,6 +60,7 @@ public class Window extends JFrame implements GameListener, CommandSender {
|
|||||||
return ((x + y) % 2 == 1) ? Color.DARK_GRAY : Color.LIGHT_GRAY;
|
return ((x + y) % 2 == 1) ? Color.DARK_GRAY : Color.LIGHT_GRAY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unused")
|
||||||
private void buildButtons(JPanel bottom) {
|
private void buildButtons(JPanel bottom) {
|
||||||
castlingButton.addActionListener((event) -> {
|
castlingButton.addActionListener((event) -> {
|
||||||
sendCastling();
|
sendCastling();
|
||||||
|
|||||||
Reference in New Issue
Block a user