game

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Game

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

main type implementing ebiten.Game

func New

func New(filesys fs.FS) (*Game, error)

func (*Game) Draw

func (self *Game) Draw(canvas *ebiten.Image)

func (*Game) Layout

func (self *Game) Layout(logicWinWidth, logicWinHeight int) (int, int)

func (*Game) LayoutF

func (self *Game) LayoutF(logicWinWidth, logicWinHeight float64) (float64, float64)

func (*Game) Update

func (self *Game) Update() error

Jump to

Keyboard shortcuts

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