gg/src/cmd/test/main.go

21 lines
227 B
Go
Raw Normal View History

2023-02-17 07:04:29 +03:00
package main
import (
"github.com/surdeus/gox/src/gx"
)
type Player struct {
gx.Object
}
2023-02-17 07:04:29 +03:00
func main() {
e := gx.New(&gx.WindowConfig{
Title: "Test title",
Width: 480,
Height: 320,
})
e.Add(0, Player{})
2023-02-17 07:04:29 +03:00
e.Run()
}