diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-02-05 23:14:19 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-01-27 16:43:47 +0100 |
| commit | 1a2ee6899d8243c5f55f48fe48ef73f3f2507e35 (patch) | |
| tree | 1f60c8230bc862f73077fec140c0a9c3890b63c7 /go/game/cardImplementations.go | |
| parent | e9070ef3752c5d2ab1f9faac48095995772ce726 (diff) | |
| download | muhqs-game-1a2ee6899d8243c5f55f48fe48ef73f3f2507e35.tar.gz muhqs-game-1a2ee6899d8243c5f55f48fe48ef73f3f2507e35.zip | |
fix some warnings reported by golang-ci
Diffstat (limited to 'go/game/cardImplementations.go')
| -rw-r--r-- | go/game/cardImplementations.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/go/game/cardImplementations.go b/go/game/cardImplementations.go index be625211..99994a41 100644 --- a/go/game/cardImplementations.go +++ b/go/game/cardImplementations.go @@ -8,7 +8,7 @@ type advisorImplementation struct { cardImplementationBase } -func (impl *advisorImplementation) fullAction(u *Unit) []*FullAction { +func (impl *advisorImplementation) fullActions(u *Unit) []*FullAction { resolvePrototype := func(a Action) ActionResolveFunc { u := a.Source().(*Unit) return func(s *State) { @@ -27,7 +27,7 @@ type missionaryImplementation struct { cardImplementationBase } -func (impl *missionaryImplementation) fullAction(u *Unit) []*FullAction { +func (impl *missionaryImplementation) fullActions(u *Unit) []*FullAction { resolvePrototype := func(a Action) ActionResolveFunc { u := a.Source().(*Unit) target := a.Targets().sel[0].(*Unit) |
