Skip to content

Commit cba41c9

Browse files
committed
Revert "Use Phaser.Display.Align enum instead of integer"
This reverts commit 9e7c1af.
1 parent 9e7c1af commit cba41c9

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/actions/AlignTo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var QuickSet = require('../display/align/to/QuickSet');
1717
* @generic {Phaser.GameObjects.GameObject[]} G - [items,$return]
1818
*
1919
* @param {(array|Phaser.GameObjects.GameObject[])} items - The array of items to be updated by this action.
20-
* @param {Phaser.Display.Align} position - The position to align the items with. This is an align constant, such as `Phaser.Display.Align.LEFT_CENTER`.
20+
* @param {integer} position - The position to align the items with. This is an align constant, such as `Phaser.Display.Align.LEFT_CENTER`.
2121
* @param {number} [offsetX=0] - Optional horizontal offset from the position.
2222
* @param {number} [offsetY=0] - Optional vertical offset from the position.
2323
*

src/display/align/in/QuickSet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ AlignInMap[ALIGN_CONST.RIGHT_TOP] = AlignInMap[ALIGN_CONST.TOP_RIGHT];
3333
*
3434
* @param {Phaser.GameObjects.GameObject} child - The Game Object that will be positioned.
3535
* @param {Phaser.GameObjects.GameObject} alignIn - The Game Object to base the alignment position on.
36-
* @param {Phaser.Display.Align} position - The position to align the Game Object with. This is an align constant, such as `ALIGN_CONST.LEFT_CENTER`.
36+
* @param {integer} position - The position to align the Game Object with. This is an align constant, such as `ALIGN_CONST.LEFT_CENTER`.
3737
* @param {number} [offsetX=0] - Optional horizontal offset from the position.
3838
* @param {number} [offsetY=0] - Optional vertical offset from the position.
3939
*

src/display/align/to/QuickSet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ AlignToMap[ALIGN_CONST.TOP_RIGHT] = require('./TopRight');
3232
*
3333
* @param {Phaser.GameObjects.GameObject} child - The Game Object that will be positioned.
3434
* @param {Phaser.GameObjects.GameObject} alignTo - The Game Object to base the alignment position on.
35-
* @param {Phaser.Display.Align} position - The position to align the Game Object with. This is an align constant, such as `Phaser.Display.Align.LEFT_CENTER`.
35+
* @param {integer} position - The position to align the Game Object with. This is an align constant, such as `Phaser.Display.Align.LEFT_CENTER`.
3636
* @param {number} [offsetX=0] - Optional horizontal offset from the position.
3737
* @param {number} [offsetY=0] - Optional vertical offset from the position.
3838
*

0 commit comments

Comments
 (0)