1
0
Fork 0

refactor: move ui code from game/state/handlers/menu.go to its own package in game/ui

This commit is contained in:
Henrik Hautakoski 2025-10-19 11:36:12 +02:00
parent 5204166ea1
commit 5f82162201
5 changed files with 118 additions and 45 deletions

6
game/ui/widget.go Normal file
View file

@ -0,0 +1,6 @@
package ui
type Widget interface {
HandleInput()
Draw(x, y int32, selected bool)
}