states

package
v0.0.0-...-50c553c Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2021 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Player

type Player struct {

	//circles        []*objects.Circle
	//sliders        []*objects.Slider
	Background *texture.TextureRegion
	BgScl      bmath.Vector2d
	Scl        float64
	SclA       float64
	CS         float64

	SameRate int

	SameMissRate int
	// contains filtered or unexported fields
}

func NewPlayer

func NewPlayer(beatMap *beatmap.BeatMap, win *glfw.Window, loadwords []font.Word) *Player

func (*Player) Draw

func (pl *Player) Draw(_ float64)

func (*Player) Show

func (pl *Player) Show()

func (*Player) Stop

func (pl *Player) Stop()

type State

type State interface {
	Show()
	Hide()
	Draw(delta float64)
	Dispose()
}

Jump to

Keyboard shortcuts

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