Back to godoc.org

Package game

v0.0.0-...-c33ef55
Latest Go to latest

The highest tagged major version is .

Published: Jul 28, 2020 | License: MIT | Module: github.com/stephenhoran/reborn

Index

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(screen *ebiten.Image) error

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier