menu

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DrawUI

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

DrawUI is a system to render the user interface.

func (*DrawUI) FinalizeUI

func (s *DrawUI) FinalizeUI(world *ecs.World)

FinalizeUI the system

func (*DrawUI) InitializeUI

func (s *DrawUI) InitializeUI(world *ecs.World)

InitializeUI the system

func (*DrawUI) PostUpdateUI

func (s *DrawUI) PostUpdateUI(world *ecs.World)

PostUpdateUI the system

func (*DrawUI) UpdateUI

func (s *DrawUI) UpdateUI(world *ecs.World)

UpdateUI the system

type UI

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

func NewUI

func NewUI(f fs.FS, folder, mapsFolder string, selectedTab int, sprts *res.Sprites, fonts *res.Fonts,
	achievements *achievements.Achievements,
	start startFunction, restart menuFunction) UI

func (*UI) UI

func (ui *UI) UI() *ebitenui.UI

func (*UI) UnlockAll added in v0.2.0

func (ui *UI) UnlockAll()

type UpdateUI

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

UpdateUI system.

func (*UpdateUI) Finalize

func (s *UpdateUI) Finalize(world *ecs.World)

Finalize the system

func (*UpdateUI) Initialize

func (s *UpdateUI) Initialize(world *ecs.World)

Initialize the system

func (*UpdateUI) Update

func (s *UpdateUI) Update(world *ecs.World)

Update the system

Jump to

Keyboard shortcuts

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