UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

24 lines 724 B
export default TileView; declare class TileView extends View<HTMLElement> { static calculatePosition(cellSize: any, spacing: any, discretePosition: any): any; static calculateSize(cellSize: any, spacing: any, discreteSize: any): any; /** * * @param {Rectangle} model * @param {Vector2} [spacing] * @param {Vector2} [size] */ constructor({ model, spacing, size }: Rectangle); uuid: string; model: Rectangle; __cellSize: Rectangle; __spacing: Rectangle; el: Element; updatePosition(): void; updateSize(): void; calculatePosition(): any; calculateSize(): any; render(): void; } import View from "../../View.js"; //# sourceMappingURL=Tile.d.ts.map