Fix jshint issues in src/physics/arcade

This commit is contained in:
Christian Wesselhoeft 2014-03-23 01:31:39 -07:00
parent 0b08877f76
commit 5f267baeb0
2 changed files with 3 additions and 3 deletions

View file

@ -747,7 +747,7 @@ Phaser.Physics.Arcade.Body.render = function (context, body, filled, color) {
context.strokeRect(body.position.x - body.game.camera.x, body.position.y - body.game.camera.y, body.width, body.height);
}
}
};
/**
* Render Sprite Body Physics Data as text.
@ -768,6 +768,6 @@ Phaser.Physics.Arcade.Body.renderBodyInfo = function (debug, body) {
debug.line('touching left: ' + body.touching.left, 'right: ' + body.touching.right, 'up: ' + body.touching.up, 'down: ' + body.touching.down);
debug.line('blocked left: ' + body.blocked.left, 'right: ' + body.blocked.right, 'up: ' + body.blocked.up, 'down: ' + body.blocked.down);
}
};
Phaser.Physics.Arcade.Body.prototype.constructor = Phaser.Physics.Arcade.Body;

View file

@ -1280,7 +1280,7 @@ Phaser.Physics.Arcade.prototype = {
* @param {Phaser.Physics.Arcade.Body} body - The Body object to separate.
* @param {number} y - The y separation amount.
*/
processTileSeparationY: function (body, y, tile) {
processTileSeparationY: function (body, y) {
if (y < 0)
{