mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-17 15:29:26 +00:00
add GameConfig to Game
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Player, PlayerInfo, UnitInfo, UnitType } from "../game/Game";
|
||||
import { GameType, Player, PlayerInfo, UnitInfo, UnitType } from "../game/Game";
|
||||
import { DefaultConfig } from "./DefaultConfig";
|
||||
|
||||
export const devConfig = new class extends DefaultConfig {
|
||||
@@ -15,10 +15,10 @@ export const devConfig = new class extends DefaultConfig {
|
||||
percentageTilesOwnedToWin(): number {
|
||||
return 95
|
||||
}
|
||||
numSpawnPhaseTurns(): number {
|
||||
return 40
|
||||
// return 100
|
||||
}
|
||||
// numSpawnPhaseTurns(gameType: GameType): number {
|
||||
// return 40
|
||||
// // return 100
|
||||
// }
|
||||
gameCreationRate(): number {
|
||||
return 10 * 1000
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user