UNPKG

@koreez/phaser3-isometric-plugin

Version:
24 lines (23 loc) 820 B
import { IIsoGameObject } from '../api/IIsoGameObject'; import { TPhaserIsoGameObject } from '../api/TPhaserIsoGameObject'; import { Cube } from './Cube'; import { Point3 } from './Point3'; import { Projector } from './Projector'; export declare class IsoObject implements IIsoGameObject { isoX: number; isoY: number; isoZ: number; isoPosition: Point3; readonly isoBounds: Cube; snap: number; projector: Projector; constructor(projector: Projector, phaserIsoGameObject: TPhaserIsoGameObject, x?: number, y?: number, z?: number); private __isoPosition; private __isoBounds; private __phaserIsoGameObject; set2DPosition(x?: number, y?: number): void; setIsoPosition(point: Point3): void; private __resetIsoBounds; private __updateDepth; private __project; }