Added sound effect files for button clicks and mark rounding and linked them up to application. Collision audio is added too but not linked up. #story[1195]

This commit is contained in:
zwu18
2017-09-03 21:22:26 +12:00
parent abf325e5ea
commit cd685ae467
10 changed files with 18 additions and 4 deletions
@@ -178,7 +178,7 @@ public class RaceStatusCommand implements Command {
visualiserRace.getLegCompletionOrder().get(boat.getCurrentLeg()).add(boat);
//play sound
AudioClip sound = new AudioClip(getClass().getResource("/visualiser/sounds/buttonpress.mp3").toExternalForm());
AudioClip sound = new AudioClip(getClass().getResource("/visualiser/sounds/passmark.wav").toExternalForm());
sound.play();
//Update boat.