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:
evanpelle
2026-05-18 13:07:26 -07:00
committed by VariableVince
parent 56abe81ecd
commit 66ecbabac2
49 changed files with 12 additions and 12 deletions
@@ -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";