Move BitmapTextCharacter typedef to proper location

This commit is contained in:
Jaro Vanderheijden 2022-10-10 17:05:56 +02:00
parent f8f8f38715
commit e4b3e1ac15
2 changed files with 9453 additions and 9456 deletions

View file

@ -7,7 +7,8 @@
* @typedef {object} Phaser.Types.GameObjects.BitmapText.BitmapTextCharacter * @typedef {object} Phaser.Types.GameObjects.BitmapText.BitmapTextCharacter
* @since 3.50.0 * @since 3.50.0
* *
* @property {number} i - The index of this character within the BitmapText text string. * @property {number} i - The index of this character within the BitmapText wrapped text string.
* @property {number} idx - The index of this character within the BitmapText text string.
* @property {string} char - The character. * @property {string} char - The character.
* @property {number} code - The character code of the character. * @property {number} code - The character code of the character.
* @property {number} x - The x position of the character in the BitmapText. * @property {number} x - The x position of the character in the BitmapText.

6
types/phaser.d.ts vendored
View file

@ -63724,14 +63724,10 @@ declare namespace Phaser {
* but are not translated into the local space of the Game Object itself. * but are not translated into the local space of the Game Object itself.
*/ */
type BitmapTextCharacter = { type BitmapTextCharacter = {
/**
* The index of this character within the BitmapText wrapped text string.
*/
i: number;
/** /**
* The index of this character within the BitmapText text string. * The index of this character within the BitmapText text string.
*/ */
idx: number; i: number;
/** /**
* The character. * The character.
*/ */