fix warnings
This commit is contained in:
@@ -74,15 +74,15 @@ public class Window extends JFrame implements GameListener {
|
||||
}
|
||||
|
||||
private void buildButtons(JPanel bottom) {
|
||||
castlingButton.addActionListener((event) -> {
|
||||
castlingButton.addActionListener((_) -> {
|
||||
sendCommand(new CastlingCommand(false));
|
||||
});
|
||||
|
||||
bigCastlingButton.addActionListener((event) -> {
|
||||
bigCastlingButton.addActionListener((_) -> {
|
||||
sendCommand(new CastlingCommand(true));
|
||||
});
|
||||
|
||||
undoButton.addActionListener((event) -> {
|
||||
undoButton.addActionListener((_) -> {
|
||||
sendCommand(new UndoCommand());
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user