diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-09-04 19:12:20 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-09-04 19:12:20 +0200 |
| commit | 417b441a42f5f8cd7bc3ec6bdd8868fa030ee33a (patch) | |
| tree | 56029d79cff5cca2138b1f5bb0dec8c693473d38 /go/ui/textBox.go | |
| parent | 33af362c2b0b20054fbd71f581d6dee24c177a21 (diff) | |
| download | muhqs-game-417b441a42f5f8cd7bc3ec6bdd8868fa030ee33a.tar.gz muhqs-game-417b441a42f5f8cd7bc3ec6bdd8868fa030ee33a.zip | |
use heart symbol to combine damage and health into a single line
Diffstat (limited to 'go/ui/textBox.go')
| -rw-r--r-- | go/ui/textBox.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go/ui/textBox.go b/go/ui/textBox.go index 1b0cae5e..85580816 100644 --- a/go/ui/textBox.go +++ b/go/ui/textBox.go @@ -73,7 +73,7 @@ func (tb *TextBox) UpdateText(new string) { } func NewUnitInfo(x, y int, u *game.Unit) *TextBox { - info := fmt.Sprintf("%s\n%s\nDamage: %d\nHealth: %d\nUpkeep: %d", + info := fmt.Sprintf("%s\n%s\n♡ %d/%d\nUpkeep: %d", u.Card().Name, u.String(), u.Damage(), u.Health, u.UpkeepCost()) if u.Movement != game.INVALID_MOVEMENT() { |
