UNPKG

@mai3/phaser-sdk

Version:

A UI component library based on the Phaser game engine

14 lines 477 B
import { BaseScene } from "../game"; import { Container } from "./Container"; import { ScrollBarConfig } from "../types"; export declare class ScrollBar extends Container { private _track; private _thumb; private _direction; private _thumbWidth; private _thumbHeight; constructor(scene: BaseScene, config: ScrollBarConfig); updateThumbPosition(percent: number): void; destroy(fromScene?: boolean): void; } //# sourceMappingURL=ScrollBar.d.ts.map