Skip to content

Commit

Permalink
remove unused const emitter
Browse files Browse the repository at this point in the history
  • Loading branch information
KilledByAPixel committed Aug 5, 2024
1 parent cff9263 commit 386618f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/platformer/gameObjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ class Bullet extends EngineObject
this.range -= this.velocity.length();
if (this.range < 0)
{
const emitter = new ParticleEmitter(
new ParticleEmitter(
this.pos, 0, .2, .1, 50, PI, spriteAtlas.circle, // pos, emit info, tileInfo
rgb(1,1,.1), rgb(1,1,1), // colorStartA, colorStartB
rgb(1,1,.1,0), rgb(1,1,1,0),// colorEndA, colorEndB
Expand Down

0 comments on commit 386618f

Please sign in to comment.