move TransformHandler/UIState/Controller out of graphics/, drop dead GhostStructureChangedEvent

graphics/ was a canvas2D-era directory name — TransformHandler, UIState,
and the Controller interface aren't graphics, they're cross-cutting
client state. Hoist them to src/client/ so the path matches what they
are. GhostStructureChangedEvent had three emitters and zero listeners;
removed.
This commit is contained in:
evanpelle
2026-05-17 12:24:41 -07:00
parent 7b1557b886
commit eb046e5a58
40 changed files with 69 additions and 84 deletions
@@ -3,8 +3,7 @@ import { EventBus } from "../../core/EventBus";
import { UnitType } from "../../core/game/Game";
import { TileRef } from "../../core/game/GameMap";
import { GameView, UnitView } from "../../core/game/GameView";
import { Controller } from "../graphics/layers/Controller";
import { TransformHandler } from "../graphics/TransformHandler";
import { Controller } from "../Controller";
import {
CloseViewEvent,
ContextMenuEvent,
@@ -17,6 +16,7 @@ import {
WarshipSelectionBoxUpdateEvent,
} from "../InputHandler";
import { GameView as WebGLGameView } from "../render/gl";
import { TransformHandler } from "../TransformHandler";
import { MoveWarshipIntentEvent } from "../Transport";
const WARSHIP_SELECTION_RADIUS = 10;