objects

package
v0.0.0-...-1ebc2e8 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ALPHA_STEP = 0.005
	ALPHA_MAX  = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LoadingImage

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

LoadingImage is the background image of the start screen

func NewLoadingImage

func NewLoadingImage() *LoadingImage

func (*LoadingImage) Draw

func (l *LoadingImage) Draw(screen *ebiten.Image)

func (*LoadingImage) Update

func (l *LoadingImage) Update() error

type LoadingText

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

LoadingText is the loading text animation for the start screen.

func NewLoadingText

func NewLoadingText() *LoadingText

func (*LoadingText) Draw

func (l *LoadingText) Draw(screen *ebiten.Image)

func (*LoadingText) Update

func (l *LoadingText) Update() error
type MenuImage struct {
	// contains filtered or unexported fields
}

MenuImage is the background image of the menu screen

func NewMenuImage

func NewMenuImage() *MenuImage
func (l *MenuImage) Draw(screen *ebiten.Image)
func (l *MenuImage) Update() error

Jump to

Keyboard shortcuts

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