combine Game & MutableGame

This commit is contained in:
evanpelle
2025-01-23 11:12:01 -08:00
committed by Evan
parent 7d15c0c065
commit de1dbff570
30 changed files with 101 additions and 101 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
import { EventBus, GameEvent } from "../EventBus"
import { Execution, MutableGame, Player, PlayerID } from "../game/Game"
import { Execution, Game, Player, PlayerID } from "../game/Game"
export class WinEvent implements GameEvent {
constructor(public readonly winner: Player) { }
@@ -9,12 +9,12 @@ export class WinCheckExecution implements Execution {
private active = true
private mg: MutableGame
private mg: Game
constructor() {
}
init(mg: MutableGame, ticks: number) {
init(mg: Game, ticks: number) {
this.mg = mg
}