Skip to content

Commit 19c2874

Browse files
authored
Added prevType to constructor.
1 parent 8771c81 commit 19c2874

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/input/keyboard/KeyboardPlugin.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,16 @@ var KeyboardPlugin = new Class({
167167
*/
168168
this.prevTime = 0;
169169

170+
/**
171+
* Internal repeat key flag.
172+
*
173+
* @name Phaser.Input.Keyboard.KeyboardPlugin#prevType
174+
* @type {string}
175+
* @private
176+
* @since 3.50.1
177+
*/
178+
this.prevType = null;
179+
170180
sceneInputPlugin.pluginEvents.once(InputEvents.BOOT, this.boot, this);
171181
sceneInputPlugin.pluginEvents.on(InputEvents.START, this.start, this);
172182
},

0 commit comments

Comments
 (0)