agentVerse / ui /src /phaser3-rex-plugins /plugins /bracketparser2-plugin.js
AgentVerse's picture
first commit
670a607
raw
history blame
408 Bytes
import BracketParser from './bracketparser2.js';
class BracketParserPlugin extends Phaser.Plugins.BasePlugin {
constructor(pluginManager) {
super(pluginManager);
}
start() {
var eventEmitter = this.game.events;
eventEmitter.on('destroy', this.destroy, this);
}
add(config) {
return new BracketParser(config);
}
}
export default BracketParserPlugin;