Skip to content

Commit d6c2b11

Browse files
committed
Replace KeyboardManager with KeyboardPlugin
1 parent 6dba00a commit d6c2b11

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/input/keyboard/combo/KeyCombo.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ var ResetKeyCombo = require('./ResetKeyCombo');
5757
* @constructor
5858
* @since 3.0.0
5959
*
60-
* @param {Phaser.Input.Keyboard.KeyboardManager} keyboardManager - A reference to the Keyboard Manager.
60+
* @param {Phaser.Input.Keyboard.KeyboardPlugin} keyboardPlugin - A reference to the Keyboard Plugin.
6161
* @param {(string|integer[]|object[])} keys - The keys that comprise this combo.
6262
* @param {KeyComboConfig} [config] - A Key Combo configuration object.
6363
*/
6464
var KeyCombo = new Class({
6565

6666
initialize:
6767

68-
function KeyCombo (keyboardManager, keys, config)
68+
function KeyCombo (keyboardPlugin, keys, config)
6969
{
7070
if (config === undefined) { config = {}; }
7171

@@ -79,10 +79,10 @@ var KeyCombo = new Class({
7979
* A reference to the Keyboard Manager
8080
*
8181
* @name Phaser.Input.Keyboard.KeyCombo#manager
82-
* @type {Phaser.Input.Keyboard.KeyboardManager}
82+
* @type {Phaser.Input.Keyboard.KeyboardPlugin}
8383
* @since 3.0.0
8484
*/
85-
this.manager = keyboardManager;
85+
this.manager = keyboardPlugin;
8686

8787
/**
8888
* A flag that controls if this Key Combo is actively processing keys or not.

src/input/keyboard/keys/ProcessKeyDown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
/**
8-
* Used internally by the KeyboardManager.
8+
* Used internally by the Keyboard Plugin.
99
*
1010
* @function Phaser.Input.Keyboard.ProcessKeyDown
1111
* @private

src/input/keyboard/keys/ProcessKeyUp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
/**
8-
* Used internally by the KeyboardManager.
8+
* Used internally by the Keyboard Plugin.
99
*
1010
* @function Phaser.Input.Keyboard.ProcessKeyUp
1111
* @private

0 commit comments

Comments
 (0)