game

package
v0.0.0-...-186440e Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunApp

func RunApp() error

Types

type Game

type Game struct {
	Context *lib.Context
	// contains filtered or unexported fields
}

func NewGame

func NewGame(ctx *lib.Context) *Game

func (Game) Draw

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

func (Game) Layout

func (g Game) Layout(outsideWidth, outsideHeight int) (screenWidth, screenHeight int)

func (Game) Update

func (g Game) Update() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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