This commit is contained in:
Scott Anderson
2025-08-24 15:59:43 -04:00
parent e77e731832
commit b107ff9f24
198 changed files with 1928 additions and 1634 deletions
+4 -4
View File
@@ -1,13 +1,13 @@
import { AttackExecution } from "../../../src/core/execution/AttackExecution";
import { AllianceRequestExecution } from "../../../src/core/execution/alliance/AllianceRequestExecution";
import { AllianceRequestReplyExecution } from "../../../src/core/execution/alliance/AllianceRequestReplyExecution";
import { SpawnExecution } from "../../../src/core/execution/SpawnExecution";
import {
Game,
Player,
PlayerInfo,
PlayerType,
} from "../../../src/core/game/Game";
import { AllianceRequestExecution } from "../../../src/core/execution/alliance/AllianceRequestExecution";
import { AllianceRequestReplyExecution } from "../../../src/core/execution/alliance/AllianceRequestReplyExecution";
import { AttackExecution } from "../../../src/core/execution/AttackExecution";
import { SpawnExecution } from "../../../src/core/execution/SpawnExecution";
import { TileRef } from "../../../src/core/game/GameMap";
import { setup } from "../../util/Setup";
+6 -3
View File
@@ -1,7 +1,10 @@
import { RailNetworkImpl, StationManagerImpl } from "../../../src/core/game/RailNetworkImpl";
import { Cluster } from "../../../src/core/game/TrainStation";
import { Railroad } from "../../../src/core/game/Railroad";
import { Unit } from "../../../src/core/game/Game";
import {
RailNetworkImpl,
StationManagerImpl,
} from "../../../src/core/game/RailNetworkImpl";
import { Railroad } from "../../../src/core/game/Railroad";
import { Cluster } from "../../../src/core/game/TrainStation";
// Mock types
const createMockStation = (unitId: number): any => {
+2 -2
View File
@@ -1,6 +1,6 @@
import { Cluster, TrainStation } from "../../../src/core/game/TrainStation";
import { Game, Player, Unit, UnitType } from "../../../src/core/game/Game";
import { TrainExecution } from "../../../src/core/execution/TrainExecution";
import { Game, Player, Unit, UnitType } from "../../../src/core/game/Game";
import { Cluster, TrainStation } from "../../../src/core/game/TrainStation";
jest.mock("../../../src/core/game/Game");
jest.mock("../../../src/core/execution/TrainExecution");