24 lines
331 B
Go
24 lines
331 B
Go
package scenes
|
|
|
|
import "github.com/hajimehoshi/ebiten/v2"
|
|
|
|
type Menu struct {
|
|
}
|
|
|
|
func CreateNewMenu() Menu {
|
|
return Menu{}
|
|
|
|
}
|
|
|
|
func (m *Menu) Draw(screen *ebiten.Image) {
|
|
|
|
}
|
|
|
|
func (m *Menu) Update() error {
|
|
return nil
|
|
}
|
|
|
|
func (m *Menu) Layout(outsideWidth, outsideHeight int) (screenWidth, screenHeight int) {
|
|
return 800, 600
|
|
}
|