Begin Audio (#7)

Reviewed-on: #7
Co-authored-by: Persson-dev <sim16.prib@gmail.com>
Co-committed-by: Persson-dev <sim16.prib@gmail.com>
This commit was merged in pull request #7.
This commit is contained in:
2025-04-30 18:27:30 +00:00
committed by Simon Pribylski
parent 4cbad80aaf
commit ecb0fdc623
5 changed files with 145 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ import chess.controller.event.GameAdaptator;
import chess.model.Color;
import chess.model.Game;
import chess.pgn.PgnExport;
import chess.view.audio.GameAudio;
import chess.view.simplerender.Window;
public class SwingMain {
@@ -31,6 +32,8 @@ public class SwingMain {
}
});
commandExecutor.addListener(new GameAudio());
commandExecutor.executeCommand(new NewGameCommand());
}
}