mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 16:02:20 +02:00
fix battle-message-ui-handler.ts formatting
This commit is contained in:
parent
31ee198393
commit
4a5292c784
@ -1,10 +1,10 @@
|
|||||||
import BattleScene, {Button} from "../battle-scene";
|
import BattleScene, { Button } from "../battle-scene";
|
||||||
import {addBBCodeTextObject, addTextObject, getTextColor, TextStyle} from "./text";
|
import { addBBCodeTextObject, addTextObject, getTextColor, TextStyle } from "./text";
|
||||||
import {Mode} from "./ui";
|
import { Mode } from "./ui";
|
||||||
import * as Utils from "../utils";
|
import * as Utils from "../utils";
|
||||||
import MessageUiHandler from "./message-ui-handler";
|
import MessageUiHandler from "./message-ui-handler";
|
||||||
import {getStatName, Stat} from "../data/pokemon-stat";
|
import { getStatName, Stat } from "../data/pokemon-stat";
|
||||||
import {addWindow} from "./ui-theme";
|
import { addWindow } from "./ui-theme";
|
||||||
|
|
||||||
export default class BattleMessageUiHandler extends MessageUiHandler {
|
export default class BattleMessageUiHandler extends MessageUiHandler {
|
||||||
private levelUpStatsContainer: Phaser.GameObjects.Container;
|
private levelUpStatsContainer: Phaser.GameObjects.Container;
|
||||||
@ -29,7 +29,7 @@ export default class BattleMessageUiHandler extends MessageUiHandler {
|
|||||||
this.textCallbackTimer = null;
|
this.textCallbackTimer = null;
|
||||||
|
|
||||||
const bg = this.scene.add.sprite(0, 0, 'bg', this.scene.windowType);
|
const bg = this.scene.add.sprite(0, 0, 'bg', this.scene.windowType);
|
||||||
bg.setOrigin(0, 1);
|
bg.setOrigin(0, 1)
|
||||||
ui.add(bg);
|
ui.add(bg);
|
||||||
|
|
||||||
this.bg = bg;
|
this.bg = bg;
|
||||||
@ -265,4 +265,4 @@ export default class BattleMessageUiHandler extends MessageUiHandler {
|
|||||||
hideNameText(): void {
|
hideNameText(): void {
|
||||||
this.nameBoxContainer.setVisible(false);
|
this.nameBoxContainer.setVisible(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user