added test

This commit is contained in:
Ryan Barlow
2026-01-29 21:49:05 +00:00
parent d453ebf2e1
commit 2401535316
+3 -3
View File
@@ -44,13 +44,13 @@ export class TestServerConfig implements ServerConfig {
throw new Error("Method not implemented.");
}
turnIntervalMs(): number {
throw new Error("Method not implemented.");
return 100;
}
spawnPhaseTicks(gameType: GameType): number {
throw new Error("Method not implemented.");
return gameType === GameType.Singleplayer ? 100 : 300;
}
spawnPhaseSeconds(gameType: GameType): number {
throw new Error("Method not implemented.");
return this.spawnPhaseTicks(gameType) / (1000 / this.turnIntervalMs());
}
gameCreationRate(): number {
throw new Error("Method not implemented.");