aboutsummaryrefslogtreecommitdiff
path: root/go/game/permanent.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/game/permanent.go')
-rw-r--r--go/game/permanent.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/go/game/permanent.go b/go/game/permanent.go
index 91aff890..db2dcaff 100644
--- a/go/game/permanent.go
+++ b/go/game/permanent.go
@@ -29,6 +29,7 @@ type Permanent interface {
AddDamage(damage int)
IsDestroyed() bool
Attackable() bool
+ CurrentlyAvailActions() []Action
AvailActions() []Action
IsAvailableTile(*Tile) bool
@@ -145,6 +146,9 @@ func (p *PermanentBase) adjustMarks(mark PermanentMark, amount int) {
}
}
+func (p *PermanentBase) CurrentlyAvailActions() []Action { return nil }
+func (p *PermanentBase) AvailActions() []Action { return nil }
+
func (p *PermanentBase) IsAvailableTile(tile *Tile) bool {
return tile.IsAvailableForCard(p.card)
}