ui

package
v0.0.0-...-a9348f7 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashFile

func HashFile(path string) (string, error)

func Run

func Run(path string)

Types

type Audio

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

func NewAudio

func NewAudio() *Audio

func (*Audio) Callback

func (a *Audio) Callback(out []float32)

func (*Audio) Start

func (a *Audio) Start() error

func (*Audio) Stop

func (a *Audio) Stop() error

type Director

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

type GameView

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

func (*GameView) Draw

func (view *GameView) Draw()

func (*GameView) Enter

func (view *GameView) Enter()

func (*GameView) Exit

func (view *GameView) Exit()

func (*GameView) Update

func (view *GameView) Update(t, dt float64)

type View

type View interface {
	Enter()
	Exit()
	Update(t, dt float64)
	Draw()
}

func NewGameView

func NewGameView(director *Director, console *nes.Console) View

Jump to

Keyboard shortcuts

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