Plugins Types

This commit is contained in:
Richard Davey 2019-05-09 12:35:33 +01:00
parent 6955507ee0
commit 15abc3824a
6 changed files with 8 additions and 8 deletions

View file

@ -94,7 +94,7 @@ PluginCache.hasCustom = function (key)
*
* @param {string} key - The key of the core plugin to get.
*
* @return {Phaser.Plugins.Types.CorePluginContainer} The core plugin object.
* @return {Phaser.Types.Plugins.CorePluginContainer} The core plugin object.
*/
PluginCache.getCore = function (key)
{
@ -109,7 +109,7 @@ PluginCache.getCore = function (key)
*
* @param {string} key - The key of the custom plugin to get.
*
* @return {Phaser.Plugins.Types.CustomPluginContainer} The custom plugin object.
* @return {Phaser.Types.Plugins.CustomPluginContainer} The custom plugin object.
*/
PluginCache.getCustom = function (key)
{

View file

@ -79,7 +79,7 @@ var PluginManager = new Class({
* A plugin must have been started at least once in order to appear in this list.
*
* @name Phaser.Plugins.PluginManager#plugins
* @type {Phaser.Plugins.Types.GlobalPlugin[]}
* @type {Phaser.Types.Plugins.GlobalPlugin[]}
* @since 3.8.0
*/
this.plugins = [];
@ -486,7 +486,7 @@ var PluginManager = new Class({
*
* @param {string} key - The unique plugin key.
*
* @return {Phaser.Plugins.Types.GlobalPlugin} The plugin entry.
* @return {Phaser.Types.Plugins.GlobalPlugin} The plugin entry.
*/
getEntry: function (key)
{

View file

@ -1,5 +1,5 @@
/**
* @typedef {object} Phaser.Plugins.Types.CorePluginContainer
* @typedef {object} Phaser.Types.Plugins.CorePluginContainer
* @since 3.8.0
*
* @property {string} key - The unique name of this plugin in the core plugin cache.

View file

@ -1,5 +1,5 @@
/**
* @typedef {object} Phaser.Plugins.Types.CustomPluginContainer
* @typedef {object} Phaser.Types.Plugins.CustomPluginContainer
* @since 3.8.0
*
* @property {string} key - The unique name of this plugin in the custom plugin cache.

View file

@ -1,5 +1,5 @@
/**
* @typedef {object} Phaser.Plugins.Types.GlobalPlugin
* @typedef {object} Phaser.Types.Plugins.GlobalPlugin
* @since 3.0.0
*
* @property {string} key - The unique name of this plugin within the plugin cache.

View file

@ -5,5 +5,5 @@
*/
/**
* @namespace Phaser.Plugins.Types
* @namespace Phaser.Types.Plugins
*/