aboutsummaryrefslogtreecommitdiff
path: root/go/game/unit.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/game/unit.go')
-rw-r--r--go/game/unit.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/go/game/unit.go b/go/game/unit.go
index a096c0f2..75015a30 100644
--- a/go/game/unit.go
+++ b/go/game/unit.go
@@ -145,11 +145,6 @@ func (u *Unit) IsDestroyed() bool {
return u.damage >= u.Health
}
-func (u *Unit) Attackable() bool {
- // Only units on the map are attackable
- return u.tile != nil
-}
-
func (u *Unit) HasFullAction() bool {
return len(u.FullActions) > 0
}