[CodeFactor] Apply fixes

This commit is contained in:
codefactor-io 2019-04-03 22:51:55 +00:00
parent e378016c56
commit 28556b44be
2 changed files with 7 additions and 7 deletions

View File

@ -1328,7 +1328,7 @@ var Factory = (function (_super) {
Factory.prototype.isAt = function (x, y) { Factory.prototype.isAt = function (x, y) {
return (this.tileX === x || this.tileX + 1 === x) && (this.tileY + 1 === y || this.tileY === y); return (this.tileX === x || this.tileX + 1 === x) && (this.tileY + 1 === y || this.tileY === y);
}; };
;
return Factory; return Factory;
}(GameObject)); }(GameObject));
var RadioTower = (function (_super) { var RadioTower = (function (_super) {

View File

@ -702,7 +702,7 @@ Phaser.Plugin.Isometric.Cube.intersects = function (a, b) {
} }
return !(a.frontX < b.x || a.frontY < b.y || a.x > b.frontX || a.y > b.frontY || a.z > b.top || a.top < b.z); return !(a.frontX < b.x || a.frontY < b.y || a.x > b.frontX || a.y > b.frontY || a.z > b.top || a.top < b.z);
}; };
;/** /**
* @class Phaser.Plugin.Isometric.IsoSprite * @class Phaser.Plugin.Isometric.IsoSprite
* *
* @classdesc * @classdesc
@ -1056,7 +1056,7 @@ Phaser.Utils.Debug.prototype.isoSprite = function (sprite, color, filled) {
this.stop(); this.stop();
}; };
;/** /**
* Octree Constructor * Octree Constructor
* *
* @class Phaser.Plugin.Isometric.Octree * @class Phaser.Plugin.Isometric.Octree
@ -1451,7 +1451,7 @@ Phaser.Utils.Debug.prototype.octree = function (octree, color) {
this.stop(); this.stop();
}; };
;/** /**
* @class Phaser.Plugin.Isometric.Point3 * @class Phaser.Plugin.Isometric.Point3
* *
* @classdesc * @classdesc
@ -1750,7 +1750,7 @@ Phaser.Plugin.Isometric.Point3.equals = function (a, b) {
return (a.x === b.x && a.y === b.y && a.z === b.z); return (a.x === b.x && a.y === b.y && a.z === b.z);
}; };
;/** /**
* @class Phaser.Plugin.Isometric.Projector * @class Phaser.Plugin.Isometric.Projector
* *
* @classdesc * @classdesc
@ -1986,7 +1986,7 @@ Object.defineProperty(Phaser.Plugin.Isometric.Projector.prototype, "projectionAn
} }
}); });
;/** /**
* @class Phaser.Plugin.Isometric.Body * @class Phaser.Plugin.Isometric.Body
* *
* @classdesc * @classdesc
@ -3126,7 +3126,7 @@ Phaser.Utils.Debug.prototype.bodyInfo = (function (_super) {
}; };
})(Phaser.Utils.Debug.prototype.bodyInfo); })(Phaser.Utils.Debug.prototype.bodyInfo);
;/** /**
* IsoArcade Physics constructor. * IsoArcade Physics constructor.
* *
* @class Phaser.Plugin.Isometric.Arcade * @class Phaser.Plugin.Isometric.Arcade