Replace KeyboardManager with KeyboardPlugin

This commit is contained in:
Richard Davey 2018-06-12 14:44:51 +01:00
parent 6dba00a9a7
commit d6c2b1104b
3 changed files with 6 additions and 6 deletions

View file

@ -57,7 +57,7 @@ var ResetKeyCombo = require('./ResetKeyCombo');
* @constructor
* @since 3.0.0
*
* @param {Phaser.Input.Keyboard.KeyboardManager} keyboardManager - A reference to the Keyboard Manager.
* @param {Phaser.Input.Keyboard.KeyboardPlugin} keyboardPlugin - A reference to the Keyboard Plugin.
* @param {(string|integer[]|object[])} keys - The keys that comprise this combo.
* @param {KeyComboConfig} [config] - A Key Combo configuration object.
*/
@ -65,7 +65,7 @@ var KeyCombo = new Class({
initialize:
function KeyCombo (keyboardManager, keys, config)
function KeyCombo (keyboardPlugin, keys, config)
{
if (config === undefined) { config = {}; }
@ -79,10 +79,10 @@ var KeyCombo = new Class({
* A reference to the Keyboard Manager
*
* @name Phaser.Input.Keyboard.KeyCombo#manager
* @type {Phaser.Input.Keyboard.KeyboardManager}
* @type {Phaser.Input.Keyboard.KeyboardPlugin}
* @since 3.0.0
*/
this.manager = keyboardManager;
this.manager = keyboardPlugin;
/**
* A flag that controls if this Key Combo is actively processing keys or not.

View file

@ -5,7 +5,7 @@
*/
/**
* Used internally by the KeyboardManager.
* Used internally by the Keyboard Plugin.
*
* @function Phaser.Input.Keyboard.ProcessKeyDown
* @private

View file

@ -5,7 +5,7 @@
*/
/**
* Used internally by the KeyboardManager.
* Used internally by the Keyboard Plugin.
*
* @function Phaser.Input.Keyboard.ProcessKeyUp
* @private