diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-06-06 21:04:09 -0500 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-07-03 22:01:22 -0400 |
| commit | ac17d110ce1d8d6660c26a2fef39dc76c5c160ef (patch) | |
| tree | 09120b5b132cf6dc364512b80496da9ba808f73f /go/game/draft.go | |
| parent | 6ffc381407883a3db743e5493f99e8bc331cbdc5 (diff) | |
| download | muhqs-game-ac17d110ce1d8d6660c26a2fef39dc76c5c160ef.tar.gz muhqs-game-ac17d110ce1d8d6660c26a2fef39dc76c5c160ef.zip | |
make PlayerControl a Closer
Diffstat (limited to 'go/game/draft.go')
| -rw-r--r-- | go/game/draft.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/go/game/draft.go b/go/game/draft.go index 74091f5a..e2056d86 100644 --- a/go/game/draft.go +++ b/go/game/draft.go @@ -94,6 +94,8 @@ type randomDraftAiCtrl struct { func (ctrl *randomDraftAiCtrl) Player() *Player { return ctrl.ai } +func (ctrl *randomDraftAiCtrl) Close() { +} func (ctrl *randomDraftAiCtrl) SendNotification(n PlayerNotification) { ctrl.pack = n.Context.(PileOfCards) |
