aboutsummaryrefslogtreecommitdiff
path: root/go/game/card.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/game/card.go')
-rw-r--r--go/game/card.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/go/game/card.go b/go/game/card.go
index 23562f0c..81464cce 100644
--- a/go/game/card.go
+++ b/go/game/card.go
@@ -77,6 +77,7 @@ type cardImplementation interface {
freeActions(Permanent) []*FreeAction
onPile(Permanent)
+ onUnpile(Permanent)
onDrop(Permanent)
}
@@ -90,6 +91,7 @@ func (*cardImplementationBase) spawnTiles(*State, *Player) []*Tile { return nil
func (*cardImplementationBase) fullActions(*Unit) []*FullAction { return nil }
func (*cardImplementationBase) freeActions(Permanent) []*FreeAction { return nil }
func (*cardImplementationBase) onPile(Permanent) {}
+func (*cardImplementationBase) onUnpile(Permanent) {}
func (*cardImplementationBase) onDrop(Permanent) {}
// Map of all card implementations