internal

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RememberWindow bool

Functions

func CopyCanvasToEbitenImage

func CopyCanvasToEbitenImage(canvas pi.Canvas, dst *ebiten.Image)

func CurrentGoroutineID

func CurrentGoroutineID() uint64

func RunOrErr

func RunOrErr() error

Types

type EbitenGame

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

TODO split into multiple objects to reduce complexity

func RunEbitenGame added in v0.32.0

func RunEbitenGame() *EbitenGame

func (*EbitenGame) Draw

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

func (*EbitenGame) Layout

func (g *EbitenGame) Layout(outsideWidth, outsideHeight int) (screenWidth, screenHeight int)

Layout method is not executed because LayoutF is

func (*EbitenGame) LayoutF

func (g *EbitenGame) LayoutF(outsideWidth, outsideHeight float64) (screenWidth, screenHeight float64)

func (*EbitenGame) Resize

func (g *EbitenGame) Resize()

func (*EbitenGame) Update

func (g *EbitenGame) Update() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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