aboutsummaryrefslogtreecommitdiff
path: root/go
diff options
context:
space:
mode:
Diffstat (limited to 'go')
-rw-r--r--go/game/state.go11
1 files changed, 4 insertions, 7 deletions
diff --git a/go/game/state.go b/go/game/state.go
index 87e1ee3d..49ee0c06 100644
--- a/go/game/state.go
+++ b/go/game/state.go
@@ -12,20 +12,17 @@ import (
)
type State struct {
- Decks []*Deck
Stores []*Store
Exile *PileOfCardsBase
Map *Map
Stack *Stack
- Hands []*Hand
- DiscardPiles []*DiscardPile
Players []*Player
ActivePlayer *Player
ActivePhase PhaseType
Permanents []Permanent
Units []*Unit
Rand *rand.Rand
- EotEffects []effect
+ eotEffects []effect
outstandingEquipment []*Card
}
@@ -591,7 +588,7 @@ func (s *State) redistributeMapStoreCards() {
func (s *State) addEotEffect(e effect) {
e.apply(s)
- s.EotEffects = append(s.EotEffects, e)
+ s.eotEffects = append(s.eotEffects, e)
}
func (s *State) endOfTurn() {
@@ -600,9 +597,9 @@ func (s *State) endOfTurn() {
s.ActivePlayer.DiscardPile.AddCard(e)
}
- for _, e := range s.EotEffects {
+ for _, e := range s.eotEffects {
e.end(s)
}
- s.EotEffects = []effect{}
+ s.eotEffects = []effect{}
}