aboutsummaryrefslogtreecommitdiff
path: root/go/game/stack.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/game/stack.go')
-rw-r--r--go/game/stack.go6
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()
}