From bd848c5ac24b8aebcc8c69941c59973753a9d651 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 9 Jun 2025 23:58:28 -0500 Subject: export tile neutralizing --- go/game/cardImplementations.go | 4 ++-- 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) } -- cgit v1.2.3