mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 18:30:53 +00:00
eb046e5a58
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.
11 lines
307 B
TypeScript
11 lines
307 B
TypeScript
import { PlayerBuildableUnitType } from "../core/game/Game";
|
|
import { TileRef } from "../core/game/GameMap";
|
|
|
|
export interface UIState {
|
|
attackRatio: number;
|
|
ghostStructure: PlayerBuildableUnitType | null;
|
|
overlappingRailroads: number[];
|
|
ghostRailPaths: TileRef[][];
|
|
rocketDirectionUp: boolean;
|
|
}
|