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:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user