text: import Anchor from './anchor.js'
  
  class AnchorPlugin extends Phaser.Plugins.BasePlugin {
      constructor(pluginManager) {
          super(pluginManager);
      }
  
      start() {
          var eventEmitter = this.game.events;
          eventEmitter.once('destroy', this.destroy, this);
      }
  
      add(gameObject, config) {
          return new Anchor(gameObject, config);
      }
  }
  
  export default AnchorPlugin;