game

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitWorld

func InitWorld(minGameWidth int, minGameHeight int) ew.World

Types

type MainGame

type MainGame struct {
	World        ew.World
	StateMachine es.StateMachine
}

mainGameはebiten.Game interfaceを満たす

func (*MainGame) Draw

func (game *MainGame) Draw(screen *ebiten.Image)

func (*MainGame) Layout

func (game *MainGame) Layout(outsideWidth, outsideHeight int) (int, int)

func (*MainGame) Update

func (game *MainGame) Update() error

Jump to

Keyboard shortcuts

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