phaser4-rex-plugins
Version:
13 lines (10 loc) • 431 B
JavaScript
import GridTable from './GridTable.js';
import ObjectFactory from '../ObjectFactory.js';
import SetValue from '../../../plugins/utils/object/SetValue.js';
ObjectFactory.register('gridTable', function (config) {
var gameObject = new GridTable(this.scene, config);
this.scene.add.existing(gameObject);
return gameObject;
});
SetValue(window, 'RexPlugins.UI.GridTable', GridTable);
export default GridTable;