Skip to content

Commit

Permalink
Fix jshint issues in src/particles/arcade
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Wesselhoeft committed Mar 25, 2014
1 parent 89a1639 commit 0b08877
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/particles/arcade/ArcadeParticles.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Phaser.Particles.Arcade = {}
Phaser.Particles.Arcade = {};
22 changes: 11 additions & 11 deletions src/particles/arcade/Emitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ Phaser.Particles.Arcade.Emitter.prototype.update = function () {
}
}

}
};

/**
* This function generates a new array of particle sprites to attach to the emitter.
Expand Down Expand Up @@ -312,7 +312,7 @@ Phaser.Particles.Arcade.Emitter.prototype.makeParticles = function (keys, frames

return this;

}
};

/**
* Call this function to turn off all the particles and the emitter.
Expand All @@ -324,7 +324,7 @@ Phaser.Particles.Arcade.Emitter.prototype.kill = function () {
this.alive = false;
this.exists = false;

}
};

/**
* Handy for bringing game objects "back to life". Just sets alive and exists back to true.
Expand All @@ -335,7 +335,7 @@ Phaser.Particles.Arcade.Emitter.prototype.revive = function () {
this.alive = true;
this.exists = true;

}
};

/**
* Call this function to start emitting particles.
Expand Down Expand Up @@ -373,7 +373,7 @@ Phaser.Particles.Arcade.Emitter.prototype.start = function (explode, lifespan, f
this._counter = 0;
this._timer = this.game.time.now + frequency;

}
};

/**
* This function can be used both internally and externally to emit the next particle.
Expand Down Expand Up @@ -450,7 +450,7 @@ Phaser.Particles.Arcade.Emitter.prototype.emitParticle = function () {
particle.body.drag.y = this.particleDrag.y;
particle.body.angularDrag = this.angularDrag;

}
};

/**
* A more compact way of setting the width and height of the emitter.
Expand All @@ -463,7 +463,7 @@ Phaser.Particles.Arcade.Emitter.prototype.setSize = function (width, height) {
this.width = width;
this.height = height;

}
};

/**
* A more compact way of setting the X velocity range of the emitter.
Expand All @@ -479,7 +479,7 @@ Phaser.Particles.Arcade.Emitter.prototype.setXSpeed = function (min, max) {
this.minParticleSpeed.x = min;
this.maxParticleSpeed.x = max;

}
};

/**
* A more compact way of setting the Y velocity range of the emitter.
Expand All @@ -495,7 +495,7 @@ Phaser.Particles.Arcade.Emitter.prototype.setYSpeed = function (min, max) {
this.minParticleSpeed.y = min;
this.maxParticleSpeed.y = max;

}
};

/**
* A more compact way of setting the angular velocity constraints of the emitter.
Expand All @@ -511,7 +511,7 @@ Phaser.Particles.Arcade.Emitter.prototype.setRotation = function (min, max) {
this.minRotation = min;
this.maxRotation = max;

}
};

/**
* Change the emitters center to match the center of any object with a `center` property, such as a Sprite.
Expand All @@ -526,7 +526,7 @@ Phaser.Particles.Arcade.Emitter.prototype.at = function (object) {
this.emitY = object.center.y;
}

}
};

/**
* @name Phaser.Particles.Arcade.Emitter#x
Expand Down

0 comments on commit 0b08877

Please sign in to comment.