UNPKG

@mai3/phaser-sdk

Version:

A UI component library based on the Phaser game engine

14 lines 575 B
import { BaseScene } from "../game"; import { ImageButtonConfig } from '../types'; import { BaseButton } from "./BaseButton"; import { Text } from "."; export declare class ImageButton extends BaseButton<ImageButtonConfig> { protected _config: ImageButtonConfig; image?: Phaser.GameObjects.NineSlice; protected text?: Text; constructor(scene: BaseScene, config: ImageButtonConfig); reDraw(config: ImageButtonConfig): void; reDrawText(config: ImageButtonConfig): void; destroy(fromScene?: boolean): void; } //# sourceMappingURL=ImageButton.d.ts.map