diff options
Diffstat (limited to 'go/game/card.go')
| -rw-r--r-- | go/game/card.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/go/game/card.go b/go/game/card.go index bae13f36..aa15689a 100644 --- a/go/game/card.go +++ b/go/game/card.go @@ -123,6 +123,7 @@ type cardImplementation interface { onPile(containing Permanent) onUnpile(containing Permanent) onDrop(dropped Permanent) + onUpkeep(Permanent) } // Default implementation of the cardImplementation interface. @@ -148,6 +149,7 @@ func (*cardImplementationBase) onETB(*LocalState, Permanent) {} func (*cardImplementationBase) onPile(Permanent) {} func (*cardImplementationBase) onUnpile(Permanent) {} func (*cardImplementationBase) onDrop(Permanent) {} +func (*cardImplementationBase) onUpkeep(Permanent) {} // Map of all card implementations var cardImplementations map[string]cardImplementation |
