You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 8, 2018. It is now read-only.
I found this lines of code in in phaser.plugin.isometric package phaser.plugin.isometric.d.ts:
class IsoSprite extends Phaser.Sprite {
...
isoBounds: Phaser.Plugin.Isometric.Point3;
...
}
But in phaser-plugin-isometric.js:
Phaser.Plugin.Isometric.IsoSprite.prototype.resetIsoBounds = function () {
if (typeof this._isoBounds === "undefined") {
this._isoBounds = new Phaser.Plugin.Isometric.Cube();
}
...
};
In runtime console.log of any Phaser.Plugin.Isometric.IsoSprite instance shown that it has in __proto__ key isoBounds with instance of Phaser.Plugin.Isometric.Cube as a value
The text was updated successfully, but these errors were encountered:
CubixSystem
changed the title
Typescript: Possibly wrong typing of IsoSprite.isoBounds
TypeScript: Possibly wrong typing of IsoSprite.isoBounds
Dec 10, 2016
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I met this error
error TS2339: Property 'containsXY' does not exist on type 'Point3'.
with my codeI found this lines of code in in phaser.plugin.isometric package
phaser.plugin.isometric.d.ts
:But in
phaser-plugin-isometric.js
:In runtime
console.log
of anyPhaser.Plugin.Isometric.IsoSprite
instance shown that it has in__proto__
keyisoBounds
with instance ofPhaser.Plugin.Isometric.Cube
as a valueThe text was updated successfully, but these errors were encountered: