Spaces:
Running
Running
cutechicken
commited on
Commit
β’
11c53ea
1
Parent(s):
705e9f5
Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -211,7 +211,7 @@
|
|
211 |
this.parent = parent; // λΆλͺ¨ μ λ (λ°μ¬ν μ λ)
|
212 |
this.offset = { x: Math.cos(angle) * 30, y: Math.sin(angle) * 30 }; // λΆλͺ¨λ‘λΆν°μ μ€νμ
|
213 |
this.img = new Image();
|
214 |
-
this.img.src = type === 'death' ? 'bang.png' : '
|
215 |
}
|
216 |
|
217 |
update() {
|
|
|
211 |
this.parent = parent; // λΆλͺ¨ μ λ (λ°μ¬ν μ λ)
|
212 |
this.offset = { x: Math.cos(angle) * 30, y: Math.sin(angle) * 30 }; // λΆλͺ¨λ‘λΆν°μ μ€νμ
|
213 |
this.img = new Image();
|
214 |
+
this.img.src = type === 'death' ? 'bang.png' : 'fire2.png';
|
215 |
}
|
216 |
|
217 |
update() {
|