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:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user