move config to Game

This commit is contained in:
evanpelle
2024-08-24 12:12:46 -07:00
parent a9785741b7
commit bb8c24e230
11 changed files with 102 additions and 51 deletions
+2
View File
@@ -1,3 +1,4 @@
import {Config} from "./configuration/Config"
import {GameEvent} from "./EventBus"
import {ClientID, GameID} from "./Schemas"
@@ -120,6 +121,7 @@ export interface Game {
terraNullius(): TerraNullius
tick(): void
addExecution(...exec: Execution[]): void
config(): Config
}
export interface MutableGame extends Game {