Plugin#active

active : boolean A Plugin with active=true has its preUpdate and update methods called by the parent, otherwise they are skipped. Source code: core/Plugin.js (Line 33)

Plugin#destroy()

destroy() Clear down this Plugin and null out references Source code: core/Plugin.js (Line 107)

Plugin#game

game : Phaser.Game A reference to the currently running game. Source code: core/Plugin.js (Line 22)

Plugin#hasPostRender

hasPostRender : boolean A flag to indicate if this plugin has a postRender method. Source code: core/Plugin.js (Line 69)

Plugin#hasPostUpdate

hasPostUpdate : boolean A flag to indicate if this plugin has a postUpdate method. Source code: core/Plugin.js (Line 57)

Plugin#hasPreUpdate

hasPreUpdate : boolean A flag to indicate if this plugin has a preUpdate method. Source code: core/Plugin.js (Line 45)

Plugin#hasRender

hasRender : boolean A flag to indicate if this plugin has a render method. Source code: core/Plugin.js (Line 63)

Plugin#hasUpdate

hasUpdate : boolean A flag to indicate if this plugin has an update method. Source code: core/Plugin.js (Line 51)

Plugin#parent

parent :any The parent of this plugin. If added to the PluginManager the parent will be set to that, otherwise it will be null. Source code: core/Plugin.js (Line 27)

Plugin#Plugin

new Plugin(game, parent) This is a base Plugin template to use for any Phaser plugin development. Parameters Name Type Description game Phaser.Game A reference to the currently running game. parent any The object that owns this plugin, usually Phaser.PluginManager. Source code: core/Plugin.js (Line 15)