[UI/UX] Replace 'Neutral' in the Arena Flyout with 'Field' (#6139)

Update arena-flyout.ts for Field > Neutral
This commit is contained in:
damocleas 2025-07-25 21:20:48 -04:00 committed by GitHub
parent 2e3a7d47e0
commit 556d588d67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,14 +86,14 @@ export class ArenaFlyout extends Phaser.GameObjects.Container {
private flyoutTextHeaderPlayer: Phaser.GameObjects.Text; private flyoutTextHeaderPlayer: Phaser.GameObjects.Text;
/** The {@linkcode Phaser.GameObjects.Text} header used to indicate the enemy's effects */ /** The {@linkcode Phaser.GameObjects.Text} header used to indicate the enemy's effects */
private flyoutTextHeaderEnemy: Phaser.GameObjects.Text; private flyoutTextHeaderEnemy: Phaser.GameObjects.Text;
/** The {@linkcode Phaser.GameObjects.Text} header used to indicate neutral effects */ /** The {@linkcode Phaser.GameObjects.Text} header used to indicate field effects */
private flyoutTextHeaderField: Phaser.GameObjects.Text; private flyoutTextHeaderField: Phaser.GameObjects.Text;
/** The {@linkcode Phaser.GameObjects.Text} used to indicate the player's effects */ /** The {@linkcode Phaser.GameObjects.Text} used to indicate the player's effects */
private flyoutTextPlayer: Phaser.GameObjects.Text; private flyoutTextPlayer: Phaser.GameObjects.Text;
/** The {@linkcode Phaser.GameObjects.Text} used to indicate the enemy's effects */ /** The {@linkcode Phaser.GameObjects.Text} used to indicate the enemy's effects */
private flyoutTextEnemy: Phaser.GameObjects.Text; private flyoutTextEnemy: Phaser.GameObjects.Text;
/** The {@linkcode Phaser.GameObjects.Text} used to indicate neutral effects */ /** The {@linkcode Phaser.GameObjects.Text} used to indicate field effects */
private flyoutTextField: Phaser.GameObjects.Text; private flyoutTextField: Phaser.GameObjects.Text;
/** Container for all field effects observed by this object */ /** Container for all field effects observed by this object */
@ -163,7 +163,7 @@ export class ArenaFlyout extends Phaser.GameObjects.Container {
this.flyoutTextHeaderField = addTextObject( this.flyoutTextHeaderField = addTextObject(
this.flyoutWidth / 2, this.flyoutWidth / 2,
5, 5,
i18next.t("arenaFlyout:neutral"), i18next.t("arenaFlyout:field"),
TextStyle.SUMMARY_GREEN, TextStyle.SUMMARY_GREEN,
); );
this.flyoutTextHeaderField.setFontSize(54); this.flyoutTextHeaderField.setFontSize(54);