From edbbe6041628461e673bd7802932075692c0c25f Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 17 Feb 2023 12:43:22 +0100 Subject: export less methods --- go/game/stack.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'go/game/stack.go') 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() } -- cgit v1.2.3