Upload index.html
Browse files- index.html +1 -0
index.html
CHANGED
|
@@ -1047,6 +1047,7 @@ class Bubble {
|
|
| 1047 |
}
|
| 1048 |
}
|
| 1049 |
reset(init) {
|
|
|
|
| 1050 |
this.x = rand(0, W);
|
| 1051 |
this.y = init ? rand(H * 0.3, H) : H + rand(10, 80);
|
| 1052 |
this.r = rand(2, 7);
|
|
|
|
| 1047 |
}
|
| 1048 |
}
|
| 1049 |
reset(init) {
|
| 1050 |
+
this.dead = false;
|
| 1051 |
this.x = rand(0, W);
|
| 1052 |
this.y = init ? rand(H * 0.3, H) : H + rand(10, 80);
|
| 1053 |
this.r = rand(2, 7);
|