Skip to content

Commit f10efda

Browse files
committed
font is non-optional, so removed coordinates as optional
1 parent 2a2ba91 commit f10efda

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/gameobjects/bitmaptext/dynamic/DynamicBitmapText.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ var Render = require('./DynamicBitmapTextRender');
4646
* @extends Phaser.GameObjects.Components.Visible
4747
*
4848
* @param {Phaser.Scene} scene - The Scene to which this Game Object belongs. It can only belong to one Scene at any given time.
49-
* @param {number} [x=0] - The x coordinate of this Game Object in world space.
50-
* @param {number} [y=0] - The y coordinate of this Game Object in world space.
49+
* @param {number} x - The x coordinate of this Game Object in world space.
50+
* @param {number} y - The y coordinate of this Game Object in world space.
5151
* @param {string} font - [description]
5252
* @param {(string|string[])} [text] - [description]
5353
* @param {number} [size] - [description]

src/gameobjects/bitmaptext/static/BitmapText.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ var Render = require('./BitmapTextRender');
5858
* @extends Phaser.GameObjects.Components.Visible
5959
*
6060
* @param {Phaser.Scene} scene - The Scene to which this Game Object belongs. It can only belong to one Scene at any given time.
61-
* @param {number} [x=0] - The x coordinate of this Game Object in world space.
62-
* @param {number} [y=0] - The y coordinate of this Game Object in world space.
61+
* @param {number} x - The x coordinate of this Game Object in world space.
62+
* @param {number} y - The y coordinate of this Game Object in world space.
6363
* @param {string} font - [description]
6464
* @param {(string|string[])} [text] - [description]
6565
* @param {number} [size] - [description]

0 commit comments

Comments
 (0)