diff options
| -rw-r--r-- | go/game/playerControl_test.go | 2 |
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 } |
