From 7f4ba6774db54e8bb427024dca05c7c16efa7039 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 22 Jul 2025 11:09:44 -0400 Subject: implement house tile effect --- go/game/unit.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'go/game/unit.go') 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 } -- cgit v1.2.3