Skip to content

Commit 4c17037

Browse files
committed
Docs update
1 parent 7c28a7b commit 4c17037

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

src/input/keyboard/KeyboardManager.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -193,21 +193,21 @@ var KeyboardManager = new Class({
193193
/**
194194
* @typedef {object} CursorKeys
195195
*
196-
* @property {Phaser.Input.Keyboard.Key} [up] - [description]
197-
* @property {Phaser.Input.Keyboard.Key} [down] - [description]
198-
* @property {Phaser.Input.Keyboard.Key} [left] - [description]
199-
* @property {Phaser.Input.Keyboard.Key} [right] - [description]
200-
* @property {Phaser.Input.Keyboard.Key} [space] - [description]
201-
* @property {Phaser.Input.Keyboard.Key} [shift] - [description]
196+
* @property {Phaser.Input.Keyboard.Key} [up] - A Key object mapping to the UP arrow key.
197+
* @property {Phaser.Input.Keyboard.Key} [down] - A Key object mapping to the DOWN arrow key.
198+
* @property {Phaser.Input.Keyboard.Key} [left] - A Key object mapping to the LEFT arrow key.
199+
* @property {Phaser.Input.Keyboard.Key} [right] - A Key object mapping to the RIGHT arrow key.
200+
* @property {Phaser.Input.Keyboard.Key} [space] - A Key object mapping to the SPACE BAR key.
201+
* @property {Phaser.Input.Keyboard.Key} [shift] - A Key object mapping to the SHIFT key.
202202
*/
203203

204204
/**
205-
* Creates and returns an object containing 4 hotkeys for Up, Down, Left and Right, and also space and shift.
205+
* Creates and returns an object containing 4 hotkeys for Up, Down, Left and Right, and also Space Bar and shift.
206206
*
207207
* @method Phaser.Input.Keyboard.KeyboardManager#createCursorKeys
208208
* @since 3.0.0
209209
*
210-
* @return {CursorKeys} [description]
210+
* @return {CursorKeys} An object containing the properties: `up`, `down`, `left`, `right`, `space` and `shift`.
211211
*/
212212
createCursorKeys: function ()
213213
{

src/plugins/ScenePlugin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ var Class = require('../utils/Class');
1515
*
1616
* @class ScenePlugin
1717
* @memberOf Phaser.Plugins
18+
* @extends Phaser.Plugins.BasePlugin
1819
* @constructor
1920
* @since 3.8.0
2021
*

0 commit comments

Comments
 (0)