mainview

package
v0.0.0-...-94f88f4 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MainScreen

type MainScreen struct {
	Counter    uint64
	Cache      *lbx.LbxCache
	State      MainScreenState
	ImageCache util.ImageCache
	UI         *uilib.UI
}

func MakeMainScreen

func MakeMainScreen(cache *lbx.LbxCache) *MainScreen

func (*MainScreen) Draw

func (main *MainScreen) Draw(screen *ebiten.Image)

func (*MainScreen) MakeUI

func (main *MainScreen) MakeUI() *uilib.UI

func (*MainScreen) Update

func (main *MainScreen) Update() MainScreenState

type MainScreenState

type MainScreenState int
const (
	MainScreenStateRunning MainScreenState = iota
	MainScreenStateQuit
	MainScreenStateNewGame
)

Jump to

Keyboard shortcuts

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