Updated imports to not fail

This commit is contained in:
Wlowscha 2025-09-07 21:34:55 +02:00
parent ac45dd1507
commit 220b470f72
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04
4 changed files with 4 additions and 4 deletions

View File

@ -4,11 +4,11 @@ import { MoveCategory } from "#enums/move-category";
import { PokemonType } from "#enums/pokemon-type"; import { PokemonType } from "#enums/pokemon-type";
import { TextStyle } from "#enums/text-style"; import { TextStyle } from "#enums/text-style";
import type { Move } from "#moves/move"; import type { Move } from "#moves/move";
import ScrollingText from "#ui/scrolling-text";
import { addTextObject } from "#ui/text"; import { addTextObject } from "#ui/text";
import { addWindow } from "#ui/ui-theme"; import { addWindow } from "#ui/ui-theme";
import { fixedInt, getLocalizedSpriteKey } from "#utils/common"; import { fixedInt, getLocalizedSpriteKey } from "#utils/common";
import i18next from "i18next"; import i18next from "i18next";
import ScrollingText from "./scrolling-text";
export interface MoveInfoOverlaySettings { export interface MoveInfoOverlaySettings {
/** /**

View File

@ -10,13 +10,13 @@ import type { OptionSelectSettings } from "#mystery-encounters/encounter-phase-u
import type { MysteryEncounterOption } from "#mystery-encounters/mystery-encounter-option"; import type { MysteryEncounterOption } from "#mystery-encounters/mystery-encounter-option";
import type { MysteryEncounterPhase } from "#phases/mystery-encounter-phases"; import type { MysteryEncounterPhase } from "#phases/mystery-encounter-phases";
import { PartyUiMode } from "#ui/party-ui-handler"; import { PartyUiMode } from "#ui/party-ui-handler";
import ScrollingText from "#ui/scrolling-text";
import { addBBCodeTextObject, getBBCodeFrag } from "#ui/text"; import { addBBCodeTextObject, getBBCodeFrag } from "#ui/text";
import { UiHandler } from "#ui/ui-handler"; import { UiHandler } from "#ui/ui-handler";
import { addWindow, WindowVariant } from "#ui/ui-theme"; import { addWindow, WindowVariant } from "#ui/ui-theme";
import { fixedInt, isNullOrUndefined } from "#utils/common"; import { fixedInt, isNullOrUndefined } from "#utils/common";
import i18next from "i18next"; import i18next from "i18next";
import type BBCodeText from "phaser3-rex-plugins/plugins/bbcodetext"; import type BBCodeText from "phaser3-rex-plugins/plugins/bbcodetext";
import ScrollingText from "./scrolling-text";
export class MysteryEncounterUiHandler extends UiHandler { export class MysteryEncounterUiHandler extends UiHandler {
private cursorContainer: Phaser.GameObjects.Container; private cursorContainer: Phaser.GameObjects.Container;

View File

@ -1,8 +1,8 @@
import type { InfoToggle } from "#app/battle-scene"; import type { InfoToggle } from "#app/battle-scene";
import { globalScene } from "#app/global-scene"; import { globalScene } from "#app/global-scene";
import { TextStyle } from "#enums/text-style"; import { TextStyle } from "#enums/text-style";
import ScrollingText from "#ui/scrolling-text";
import { fixedInt } from "#utils/common"; import { fixedInt } from "#utils/common";
import ScrollingText from "./scrolling-text";
export interface PokedexInfoOverlaySettings { export interface PokedexInfoOverlaySettings {
delayVisibility?: boolean; // if true, showing the overlay will only set it to active and populate the fields and the handler using this field has to manually call setVisible later. delayVisibility?: boolean; // if true, showing the overlay will only set it to active and populate the fields and the handler using this field has to manually call setVisible later.

View File

@ -25,6 +25,7 @@ import type { PokemonMove } from "#moves/pokemon-move";
import type { Variant } from "#sprites/variant"; import type { Variant } from "#sprites/variant";
import { getVariantTint } from "#sprites/variant"; import { getVariantTint } from "#sprites/variant";
import { achvs } from "#system/achv"; import { achvs } from "#system/achv";
import ScrollingText from "#ui/scrolling-text";
import { addBBCodeTextObject, addTextObject, getBBCodeFrag, getTextColor } from "#ui/text"; import { addBBCodeTextObject, addTextObject, getBBCodeFrag, getTextColor } from "#ui/text";
import { UiHandler } from "#ui/ui-handler"; import { UiHandler } from "#ui/ui-handler";
import { import {
@ -40,7 +41,6 @@ import { getEnumValues } from "#utils/enums";
import { toCamelCase, toTitleCase } from "#utils/strings"; import { toCamelCase, toTitleCase } from "#utils/strings";
import { argbFromRgba } from "@material/material-color-utilities"; import { argbFromRgba } from "@material/material-color-utilities";
import i18next from "i18next"; import i18next from "i18next";
import ScrollingText from "./scrolling-text";
enum Page { enum Page {
PROFILE, PROFILE,