Skip to content

Commit 2b073cb

Browse files
committed
Actions Types
1 parent ba424ac commit 2b073cb

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/actions/Call.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* @generic {Phaser.GameObjects.GameObject[]} G - [items,$return]
1414
*
1515
* @param {(array|Phaser.GameObjects.GameObject[])} items - The array of items to be updated by this action.
16-
* @param {Phaser.Actions.Types.CallCallback} callback - The callback to be invoked. It will be passed just one argument: the item from the array.
16+
* @param {Phaser.Types.Actions.CallCallback} callback - The callback to be invoked. It will be passed just one argument: the item from the array.
1717
* @param {*} context - The scope in which the callback will be invoked.
1818
*
1919
* @return {(array|Phaser.GameObjects.GameObject[])} The array of objects that was passed to this Action.

src/actions/GridAlign.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var tempZone = new Zone({ sys: { queueDepthSort: NOOP, events: { once: NOOP } }
2222
* @generic {Phaser.GameObjects.GameObject[]} G - [items,$return]
2323
*
2424
* @param {(array|Phaser.GameObjects.GameObject[])} items - The array of items to be updated by this action.
25-
* @param {Phaser.Actions.Types.GridAlignConfig} options - The GridAlign Configuration object.
25+
* @param {Phaser.Types.Actions.GridAlignConfig} options - The GridAlign Configuration object.
2626
*
2727
* @return {(array|Phaser.GameObjects.GameObject[])} The array of objects that were passed to this Action.
2828
*/

src/actions/typedefs/CallCallback.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @callback Phaser.Actions.Types.CallCallback
2+
* @callback Phaser.Types.Actions.CallCallback
33
* @since 3.0.0
44
*
55
* @param {Phaser.GameObjects.GameObject} item - The Game Object to run the callback on.

src/actions/typedefs/GridAlignConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @typedef {object} Phaser.Actions.Types.GridAlignConfig
2+
* @typedef {object} Phaser.Types.Actions.GridAlignConfig
33
* @since 3.0.0
44
*
55
* @property {integer} [width=-1] - The width of the grid in items (not pixels). -1 means lay all items out horizontally, regardless of quantity.

src/actions/typedefs/index.js

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

77
/**
8-
* @namespace Phaser.Actions.Types
8+
* @namespace Phaser.Types.Actions
99
*/

src/gameobjects/group/typedefs/GroupCreateConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
* @property {?number} [setAlpha.step=0] - Increment each Game Object's alpha from the previous by this amount, starting from `setAlpha.value`.
4242
* @property {?*} [hitArea] - A geometric shape that defines the hit area for the Game Object.
4343
* @property {?Phaser.Input.Types.HitAreaCallback} [hitAreaCallback] - A callback to be invoked when the Game Object is interacted with.
44-
* @property {?(false|Phaser.Actions.Types.GridAlignConfig)} [gridAlign=false] - Align the new Game Objects in a grid using these settings.
44+
* @property {?(false|Phaser.Types.Actions.GridAlignConfig)} [gridAlign=false] - Align the new Game Objects in a grid using these settings.
4545
*
4646
* @see Phaser.Actions.GridAlign
4747
* @see Phaser.Actions.SetAlpha

0 commit comments

Comments
 (0)