on retire le débug
This commit is contained in:
parent
07fdebfcd8
commit
b12548d46b
2 changed files with 0 additions and 2 deletions
|
@ -37,7 +37,6 @@ class Network{
|
||||||
this.playersToRemove.push(data.data.id);
|
this.playersToRemove.push(data.data.id);
|
||||||
break;
|
break;
|
||||||
case "newBullet":
|
case "newBullet":
|
||||||
console.log(this.sound)
|
|
||||||
this.bulletsToAdd.push(new Bullet(data.data.x,data.data.y,data.data.dx,data.data.dy,data.data.id, this.sound));
|
this.bulletsToAdd.push(new Bullet(data.data.x,data.data.y,data.data.dx,data.data.dy,data.data.id, this.sound));
|
||||||
break;
|
break;
|
||||||
case "died":
|
case "died":
|
||||||
|
|
|
@ -4,7 +4,6 @@ class Sound{
|
||||||
}
|
}
|
||||||
|
|
||||||
loadSounds(){
|
loadSounds(){
|
||||||
console.log(this.assetsUrl + "shoot.mp3")
|
|
||||||
this.shootSound = new Audio(this.assetsUrl + "shoot.mp3");
|
this.shootSound = new Audio(this.assetsUrl + "shoot.mp3");
|
||||||
this.shootSound.type = "audio/mp3";
|
this.shootSound.type = "audio/mp3";
|
||||||
this.driftsound = new Audio(this.assetsUrl + "drift.mp3");
|
this.driftsound = new Audio(this.assetsUrl + "drift.mp3");
|
||||||
|
|
Loading…
Reference in a new issue