diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-07-30 20:25:15 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-07-30 20:28:56 +0200 |
| commit | 5a4a5159b3dcc1caa01e81222f3f1beefcfb4b02 (patch) | |
| tree | 643fa1cdddca1f03d5e76719a2afb607009d91c1 /go/ui/stateBar.go | |
| parent | f64e8747e287e949ce7cbbb42303ad1cdfabec89 (diff) | |
| download | muhqs-game-5a4a5159b3dcc1caa01e81222f3f1beefcfb4b02.tar.gz muhqs-game-5a4a5159b3dcc1caa01e81222f3f1beefcfb4b02.zip | |
use any instead of interface{}
Diffstat (limited to 'go/ui/stateBar.go')
| -rw-r--r-- | go/ui/stateBar.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go/ui/stateBar.go b/go/ui/stateBar.go index 65187e30..a5189a84 100644 --- a/go/ui/stateBar.go +++ b/go/ui/stateBar.go @@ -46,7 +46,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) any { return nil } func (sb *StateBar) ForceRedraw() { if sb.resourceView != nil { |
