mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-07 07:59:26 +02:00
[UI/UX] Replace 'Neutral' in the Arena Flyout with 'Field' (#6139)
Update arena-flyout.ts for Field > Neutral
This commit is contained in:
parent
2e3a7d47e0
commit
556d588d67
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user