Skip to content

Commit a6b8b8e

Browse files
committed
Documented the Text game object and its TextStyle companion.
Minor update to JSON representation descriptions.
1 parent 28851ff commit a6b8b8e

5 files changed

Lines changed: 215 additions & 158 deletions

File tree

src/gameobjects/bitmaptext/dynamic/DynamicBitmapText.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ var DynamicBitmapText = new Class({
397397
* @method Phaser.GameObjects.DynamicBitmapText#toJSON
398398
* @since 3.0.0
399399
*
400-
* @return {JSONBitmapText} The JSON representation of this Bitmap Text.
400+
* @return {JSONBitmapText} A JSON representation of this Bitmap Text.
401401
*/
402402
toJSON: function ()
403403
{

src/gameobjects/bitmaptext/static/BitmapText.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ var BitmapText = new Class({
320320
* @method Phaser.GameObjects.BitmapText#toJSON
321321
* @since 3.0.0
322322
*
323-
* @return {JSONBitmapText} The JSON representation of this Bitmap Text.
323+
* @return {JSONBitmapText} A JSON representation of this Bitmap Text.
324324
*/
325325
toJSON: function ()
326326
{

src/gameobjects/components/ToJSON.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
*
4040
* @param {Phaser.GameObjects.GameObject} gameObject - The Game Object to export as JSON.
4141
*
42-
* @return {JSONGameObject} The JSON representation of the Game Object.
42+
* @return {JSONGameObject} A JSON representation of the Game Object.
4343
*/
4444
var ToJSON = function (gameObject)
4545
{

0 commit comments

Comments
 (0)