aaaaxy

package
v1.3.393 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig() (*flag.Config, error)

Types

type Game

type Game struct {
	Menu menu.Controller
	// contains filtered or unexported fields
}

func NewGame added in v1.2.164

func NewGame() *Game

func (*Game) BeforeExit added in v1.0.112

func (g *Game) BeforeExit() error

func (*Game) Draw

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

func (*Game) DrawFinalScreen added in v1.3.303

func (g *Game) DrawFinalScreen(screen ebiten.FinalScreen, offscreen *ebiten.Image, geoM ebiten.GeoM)

func (*Game) InitEarly added in v1.2.217

func (g *Game) InitEarly() error

InitEarly is the beginning of our initialization, and may take place in the first frame if there is no way to run this before the main loop (e.g. on mobile).

func (*Game) InitEbitengine added in v1.2.164

func (g *Game) InitEbitengine() error

NOTE: This function only runs on desktop systems. On mobile, we instead run InitEarly only.

func (*Game) InitFull added in v1.0.112

func (g *Game) InitFull() error

func (*Game) InitStep added in v1.0.112

func (g *Game) InitStep() error

func (*Game) Layout

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

func (*Game) Update

func (g *Game) Update() error

Jump to

Keyboard shortcuts

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