phaser4-rex-plugins
Version:
22 lines (16 loc) • 458 B
TypeScript
import ComponentBase from '../../utils/componentbase/ComponentBase';
export default TouchState;
declare namespace TouchState {
interface IConfig {
enable?: boolean,
}
}
declare class TouchState extends ComponentBase {
constructor(
gameObject: Phaser.GameObjects.GameObject,
config?: TouchState.IConfig
)
setEnable(enable?: boolean): this;
toggleEnable(): this;
enable: boolean;
}