game

package
v0.0.0-...-e0f0d47 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Grey = color.RGBA{25, 25, 25, 255}
)

Functions

This section is empty.

Types

type Designer

type Designer struct {
}

func (*Designer) Draw

func (d *Designer) Draw(screen *ebiten.Image)

func (*Designer) Update

func (d *Designer) Update() error

type Game

type Game struct {
	// contains filtered or unexported fields
}

func NewGame

func NewGame() *Game

func (*Game) Draw

func (g *Game) Draw(screen *ebiten.Image)

func (*Game) Layout

func (g *Game) Layout(outsideWidth, outsideHeight int) (int, int)

func (*Game) Update

func (g *Game) Update() error
type Menu struct {
	// contains filtered or unexported fields
}
func (m *Menu) CreateButton(screen *ebiten.Image, g *Game)
func (m *Menu) Draw(screen *ebiten.Image)
func (m *Menu) SettingButton(screen *ebiten.Image)
func (m *Menu) Title(screen *ebiten.Image)
func (m *Menu) Update(g *Game) error
type MenuFullScreen struct {
	// contains filtered or unexported fields
}
func (m *MenuFullScreen) CreateButtonFullScreen(screen *ebiten.Image, g *Game)
func (m *MenuFullScreen) DrawFull(screen *ebiten.Image)
func (m *MenuFullScreen) SettingButtonFullScreen(screen *ebiten.Image)
func (m *MenuFullScreen) TitleFullScreen(screen *ebiten.Image)
func (m *MenuFullScreen) UpdateFull(g *Game) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL