UNPKG

phaser3-rex-plugins

Version:
32 lines (26 loc) 798 B
import FolderBase from '../../../folder/Folder.js'; import BindingTargetMethods from './BindingTargetMethods.js'; import InputRowTitleWidthMethods from './InputRowTitleWidthMethods.js'; import SetReadOnlyMethods from './SetReadOnlyMethods.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, SetReadOnlyMethods, ) export default Folder;