From 4355c1a621600b2d4bf152abc5737f49439b4334 Mon Sep 17 00:00:00 2001 From: samme Date: Sun, 21 Apr 2019 11:08:40 -0700 Subject: [PATCH] Remove BasePlugin#boot --- src/plugins/BasePlugin.js | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/src/plugins/BasePlugin.js b/src/plugins/BasePlugin.js index af8ded53c..f97d0d2ff 100644 --- a/src/plugins/BasePlugin.js +++ b/src/plugins/BasePlugin.js @@ -127,34 +127,6 @@ var BasePlugin = new Class({ { }, - /** - * If this is a Scene Plugin (i.e. installed into a Scene) then this method is called when the Scene boots. - * By this point the plugin properties `scene` and `systems` will have already been set. - * In here you can listen for Scene events and set-up whatever you need for this plugin to run. - * - * @method Phaser.Plugins.BasePlugin#boot - * @since 3.8.0 - */ - boot: function () - { - // Here are the Scene events you can listen to. - // At the very least you should offer a destroy handler for when the Scene closes down. - - // var eventEmitter = this.systems.events; - - // eventEmitter.once('destroy', this.sceneDestroy, this); - // eventEmitter.on('start', this.sceneStart, this); - // eventEmitter.on('preupdate', this.scenePreUpdate, this); - // eventEmitter.on('update', this.sceneUpdate, this); - // eventEmitter.on('postupdate', this.scenePostUpdate, this); - // eventEmitter.on('pause', this.scenePause, this); - // eventEmitter.on('resume', this.sceneResume, this); - // eventEmitter.on('sleep', this.sceneSleep, this); - // eventEmitter.on('wake', this.sceneWake, this); - // eventEmitter.on('shutdown', this.sceneShutdown, this); - // eventEmitter.on('destroy', this.sceneDestroy, this); - }, - /** * Game instance has been destroyed. * You must release everything in here, all references, all objects, free it all up.