Removed sout statements.

This commit is contained in:
David Wu
2017-09-14 16:52:45 +12:00
parent f794aec4c8
commit e345ecdec1
2 changed files with 3 additions and 3 deletions
@@ -26,12 +26,12 @@ public class BoatCollisionCommand implements Command {
public void execute() {
if(visualiserRace.getPlayerBoatID()==yachtEvent.getSourceID()){
System.out.println("I crashed!");
//System.out.println("I crashed!");
AudioClip sound = new AudioClip(this.getClass().getResource("/visualiser/sounds/collision.wav").toExternalForm());
sound.play();
} else {
System.out.println("Someone else crashed!");
//System.out.println("Someone else crashed!");
AudioClip sound = new AudioClip(this.getClass().getResource("/visualiser/sounds/quietcollision.wav").toExternalForm());
sound.play();
}