blob: 86475f71d9b6c845b02e2e6b9df971b2688f4145 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
package ui
import rl "github.com/gen2brain/raylib-go/raylib"
type UIElement interface {
Init(Menu)
Destroy()
Update()
// Draw the element with the given size
Draw(*rl.Rectangle)
}
|