state

package
v0.0.0-...-c29f755 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

type State interface {
	Update(dt float64) error
	Draw(screen *ebiten.Image)
}

type TitleState

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

TitleState is the intro and "press enter to begin" screen.

func NewTitleState

func NewTitleState() (*TitleState, error)

func (*TitleState) Draw

func (s *TitleState) Draw(screen *ebiten.Image)

func (*TitleState) Update

func (s *TitleState) Update(dt float64) error

Jump to

Keyboard shortcuts

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