combine Player & MutablePlayer interfaces

This commit is contained in:
evanpelle
2025-02-01 12:05:11 -08:00
committed by Evan
parent 4034d11015
commit 7d15c0c065
30 changed files with 169 additions and 174 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import { EventBus, GameEvent } from "../EventBus"
import { Execution, MutableGame, MutablePlayer, Player, PlayerID } from "../game/Game"
import { Execution, MutableGame, Player, PlayerID } from "../game/Game"
export class WinEvent implements GameEvent {
constructor(public readonly winner: Player) { }
@@ -33,7 +33,7 @@ export class WinCheckExecution implements Execution {
}
}
owner(): MutablePlayer {
owner(): Player {
return null
}