diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-02-17 12:43:22 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-01-27 16:43:50 +0100 |
| commit | edbbe6041628461e673bd7802932075692c0c25f (patch) | |
| tree | 07bb66445a5a60dcdfd0114bad700a8f4cabf921 /go/game/stack.go | |
| parent | 65aa5f53d54b4590b98a559fccfb1cc7c7644187 (diff) | |
| download | muhqs-game-edbbe6041628461e673bd7802932075692c0c25f.tar.gz muhqs-game-edbbe6041628461e673bd7802932075692c0c25f.zip | |
export less methods
Diffstat (limited to 'go/game/stack.go')
| -rw-r--r-- | go/game/stack.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/go/game/stack.go b/go/game/stack.go index a06af9f3..60f041b3 100644 --- a/go/game/stack.go +++ b/go/game/stack.go @@ -32,7 +32,7 @@ func (s *Stack) pop() { err := s.gameState.ValidateAction(a) if err == nil { - a.Resolve(s.gameState) + a.resolve(s.gameState) // Some action may be reused like full actions of permanents. // Reset their target selection to allow possible reuse. if t := a.Targets(); t != nil { @@ -43,9 +43,9 @@ func (s *Stack) pop() { s.gameState.broadcastNotification(newResolvedActionNotification(a, err)) } -func (s *Stack) Resolve() { +func (s *Stack) resolve() { for !s.IsEmpty() { - s.gameState.AllPassing(false) + s.gameState.allPassing(false) s.pop() s.gameState.stateBasedActions() } |
