mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Fix jshint issues in src/physics/arcade
This commit is contained in:
parent
0b08877f76
commit
5f267baeb0
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue