mirror of
https://github.com/photonstorm/phaser
synced 2024-12-01 00:49:41 +00:00
Correctly type style in TextFactory
This commit is contained in:
parent
a525e43dcf
commit
87e8eba213
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ var GameObjectFactory = require('../../GameObjectFactory');
|
|||
* @param {number} x - The horizontal position of this Game Object in the world.
|
||||
* @param {number} y - The vertical position of this Game Object in the world.
|
||||
* @param {(string|string[])} text - The text this Text object will display.
|
||||
* @param {object} [style] - The Text style configuration object.
|
||||
* @param {Phaser.Types.GameObjects.Text.TextStyle} [style] - The Text style configuration object.
|
||||
*
|
||||
* @return {Phaser.GameObjects.Text} The Game Object that was created.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue