aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2025-08-15 16:52:50 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2025-08-15 23:52:20 +0200
commit2a4ead8ff0797b22dde4b5ff0f8120120e7c0c72 (patch)
treec3ca2f99d798973a6062909f109af69f0c8be254
parenteecc2f0161b1e10b1ff580623857bd563dbe952c (diff)
downloadmuhqs-game-2a4ead8ff0797b22dde4b5ff0f8120120e7c0c72.tar.gz
muhqs-game-2a4ead8ff0797b22dde4b5ff0f8120120e7c0c72.zip
fixup! git enforce slow action timing restrictions
-rw-r--r--go/game/playerControl_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/go/game/playerControl_test.go b/go/game/playerControl_test.go
index 37f5e919..0182e30b 100644
--- a/go/game/playerControl_test.go
+++ b/go/game/playerControl_test.go
@@ -18,10 +18,12 @@ func (ctrl *MockPlayerControl) Player() *Player { return ctrl.p }
func (ctrl *MockPlayerControl) RecvNotification() (n PlayerNotification, err error) {
return
}
+
func (ctrl *MockPlayerControl) SendNotification(n PlayerNotification) error {
ctrl.sentNotifications = append(ctrl.sentNotifications, n)
return nil
}
+
func (ctrl *MockPlayerControl) RecvAction() (Action, error) {
return nil, nil
}