diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-06-09 23:58:28 -0500 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-07-03 22:01:22 -0400 |
| commit | ac42b3f434a33251b7fbae873c810d15bb46a156 (patch) | |
| tree | bac4119aedba881c838feb5760a2acce26263f49 | |
| parent | e1a621247e4382b042e70104b6462de553a5ff4b (diff) | |
| download | muhqs-game-ac42b3f434a33251b7fbae873c810d15bb46a156.tar.gz muhqs-game-ac42b3f434a33251b7fbae873c810d15bb46a156.zip | |
export tile neutralizing
| -rw-r--r-- | go/game/cardImplementations.go | 4 | ||||
| -rw-r--r-- | go/game/tile.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/go/game/cardImplementations.go b/go/game/cardImplementations.go index cd95e58c..18235faa 100644 --- a/go/game/cardImplementations.go +++ b/go/game/cardImplementations.go @@ -122,7 +122,7 @@ func (*pioneerImpl) fullActions(u *Unit) []*FullAction { s.destroyPermanent(artifact) } else { tile := target.(*Tile) - tile.neutralize() + tile.Neutralize() } } } @@ -605,7 +605,7 @@ func (*soldOutImpl) onPlay(a *PlayAction) { s.Map().StoreOn(storePos).MoveInto(s.Exile()) storeTile := s.Map().TileAt(storePos) - storeTile.neutralize() + storeTile.Neutralize() } type supriseImpl struct{ cardImplementationBase } diff --git a/go/game/tile.go b/go/game/tile.go index 68e835ed..048768f5 100644 --- a/go/game/tile.go +++ b/go/game/tile.go @@ -219,7 +219,7 @@ func (t *Tile) removeEffect(effect areaEffect) { } } -func (t *Tile) neutralize() { +func (t *Tile) Neutralize() { if t.Type == TileTypes.Farm { t.removeEffect(farmEffect) } |
