UNPKG

phaser4-rex-plugins

Version:
27 lines (21 loc) 733 B
import Label from '../label/Label'; import BuildLabelConfig from '../utils/build/BuildLabelConfig'; export default SimpleLabel; declare namespace SimpleLabel { interface IConfig extends BuildLabelConfig.IConfig { } interface ICreatorsConfig extends BuildLabelConfig.ICreators { } interface IResetDisplayContentConfig extends Label.IResetDisplayContentConfig { } } declare class SimpleLabel extends Label { constructor( scene: Phaser.Scene, config?: SimpleLabel.IConfig, creators?: SimpleLabel.ICreatorsConfig ); setActiveState(enable?: boolean): this; setHoverState(enable?: boolean): this; setDisableState(enable?: boolean): this; }