2024-03-24 01:14:26 +01:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2024-03-25 01:55:14 +01:00
|
|
|
. "git.danitheskunk.com/squishy/blooblib"
|
|
|
|
. "git.danitheskunk.com/squishy/blooblib/gui"
|
2024-03-24 01:14:26 +01:00
|
|
|
run "git.danitheskunk.com/squishy/blooblib/Run"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Game struct {
|
|
|
|
}
|
|
|
|
|
2024-03-25 01:55:14 +01:00
|
|
|
func (g Game) Init(bloob *Bloob, settings *Settings) {
|
|
|
|
button := NewButton("Ok")
|
|
|
|
button.Pos = Vec2i{X: 20, Y: 20}
|
|
|
|
Gui.Root = button
|
2024-03-24 01:14:26 +01:00
|
|
|
}
|
|
|
|
|
2024-03-25 01:55:14 +01:00
|
|
|
func (g Game) Render(bloob *Bloob, screen *Image) {
|
|
|
|
screen.Clear(0xcccccc)
|
2024-03-24 01:14:26 +01:00
|
|
|
}
|
|
|
|
|
2024-03-25 01:55:14 +01:00
|
|
|
func (g Game) Update(bloob *Bloob) {
|
2024-03-24 01:14:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
run.Run(&Game{})
|
|
|
|
}
|