settings

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

type Settings struct {
	MusicVolume float64
}

func Load

func Load() Settings

func (*Settings) IsMusicEnabled

func (s *Settings) IsMusicEnabled() bool

func (*Settings) Save

func (s *Settings) Save()

func (*Settings) ToggleMusic

func (s *Settings) ToggleMusic(enabled bool)

Jump to

Keyboard shortcuts

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