UNPKG

phaser4-rex-plugins

Version:
30 lines (24 loc) 714 B
import FolderBase from '../../../folder/Folder.js'; import BindingTargetMethods from './BindingTargetMethods.js'; import InputRowTitleWidthMethods from './InputRowTitleWidthMethods.js'; class Folder extends FolderBase { constructor(scene, config) { if (config === undefined) { config = {}; } config.orientation = 1; super(scene, config); this.type = 'rexTweaker.Folder'; } setTitle(config) { var title = this.childrenMap.title; title.setTitle(config); return this; } } Object.assign( Folder.prototype, BindingTargetMethods, InputRowTitleWidthMethods, ) export default Folder;