From 5a4a5159b3dcc1caa01e81222f3f1beefcfb4b02 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 30 Jul 2025 20:25:15 +0200 Subject: use any instead of interface{} --- go/ui/stateBar.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'go/ui/stateBar.go') 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 { -- cgit v1.2.3