aboutsummaryrefslogtreecommitdiff
path: root/go/ui/stateBar.go
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-02-16 18:57:15 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2025-01-27 16:43:50 +0100
commitc12057320c06f9b4a0bd6c9b25a1dd2d2bd8fd8d (patch)
tree77e2d4f4b1430b95fd20dc14a8c2c561a80d6bc8 /go/ui/stateBar.go
parent2f01274717d62e59e4bf3b4426a2ec6a76ffac11 (diff)
downloadmuhqs-game-c12057320c06f9b4a0bd6c9b25a1dd2d2bd8fd8d.tar.gz
muhqs-game-c12057320c06f9b4a0bd6c9b25a1dd2d2bd8fd8d.zip
move more ui logic into Collection
* Generalize hover detection and move it into ui.Collection * Implement transparencu for the prompt banner
Diffstat (limited to 'go/ui/stateBar.go')
-rw-r--r--go/ui/stateBar.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/go/ui/stateBar.go b/go/ui/stateBar.go
index 93de9af9..1686b5e1 100644
--- a/go/ui/stateBar.go
+++ b/go/ui/stateBar.go
@@ -44,9 +44,7 @@ func (sb *StateBar) Draw(screen *ebiten.Image) {
sb.phaseView.Draw(screen)
}
-func (sb *StateBar) FindObjectAt(x, y int) interface{} {
- return nil
-}
+func (sb *StateBar) FindObjectAt(x, y int) interface{} { return nil }
func (sb *StateBar) ForceRedraw() {
if sb.resourceView != nil {