mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-05 16:15:09 +00:00
rename client/graphics → client/hud
The contents (Lit web components for in-game chat, build menu, leaderboard, attack displays, etc.) are HUD, not graphics — the actual graphics is in client/render/.
This commit is contained in:
@@ -2,7 +2,7 @@ import { describe, expect, test } from "vitest";
|
||||
import {
|
||||
alignClusterOrder,
|
||||
computeLabelScale,
|
||||
} from "../../../../src/client/graphics/layers/AttackingTroopsOverlay";
|
||||
} from "../../../../src/client/hud/layers/AttackingTroopsOverlay";
|
||||
import { Cell } from "../../../../src/core/game/Game";
|
||||
|
||||
describe("computeLabelScale", () => {
|
||||
|
||||
@@ -21,7 +21,7 @@ vi.mock("lit/directives/unsafe-html.js", () => ({
|
||||
UnsafeHTMLDirective: class {},
|
||||
}));
|
||||
|
||||
import { EventsDisplay } from "../../../../src/client/graphics/layers/EventsDisplay";
|
||||
import { EventsDisplay } from "../../../../src/client/hud/layers/EventsDisplay";
|
||||
import { MessageType } from "../../../../src/core/game/Game";
|
||||
|
||||
describe("EventsDisplay - alliance renewal cleanup (allianceID based)", () => {
|
||||
|
||||
@@ -27,8 +27,8 @@ vi.mock("../../../../src/client/components/ui/ActionButton", () => ({
|
||||
}));
|
||||
|
||||
import { actionButton } from "../../../../src/client/components/ui/ActionButton";
|
||||
import { PlayerModerationModal } from "../../../../src/client/graphics/layers/PlayerModerationModal";
|
||||
import { PlayerPanel } from "../../../../src/client/graphics/layers/PlayerPanel";
|
||||
import { PlayerModerationModal } from "../../../../src/client/hud/layers/PlayerModerationModal";
|
||||
import { PlayerPanel } from "../../../../src/client/hud/layers/PlayerPanel";
|
||||
import { SendKickPlayerIntentEvent } from "../../../../src/client/Transport";
|
||||
import { PlayerType } from "../../../../src/core/game/Game";
|
||||
import { PlayerView } from "../../../../src/core/game/GameView";
|
||||
|
||||
Reference in New Issue
Block a user