diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-07-22 11:09:44 -0400 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-07-22 12:54:28 -0400 |
| commit | 7f4ba6774db54e8bb427024dca05c7c16efa7039 (patch) | |
| tree | 81db9aae21b6d410f32ff8947800593afd4fd38c /go/game/unit.go | |
| parent | eb2fc0af7db8614024f6d73093ccb0825c8a1cc0 (diff) | |
| download | muhqs-game-7f4ba6774db54e8bb427024dca05c7c16efa7039.tar.gz muhqs-game-7f4ba6774db54e8bb427024dca05c7c16efa7039.zip | |
implement house tile effect
Diffstat (limited to 'go/game/unit.go')
| -rw-r--r-- | go/game/unit.go | 5 |
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 } |
