class Sound{
constructor(url){
this.sound = new Audio(url);
this.sound.type = "audio/mp3";
}
play(){
this.shootSound.pause()
this.shootSound.currentTime=0;
this.shootSound.play()