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)