base

package
v0.0.0-...-71fbeb2 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Sounds BaseSounds
	Music  BaseMusic
	Fonts  BaseFonts
)
View Source
var Games = []string{
	"JUDGE DREDD",
	"MEGAMAN 3",
	"HIGH SPEED 3",
	"PINGOLF",
	"PRACTICE",
}

Functions

func Load

func Load()

Types

type Attract

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

func NewAttract

func NewAttract(m *pin.Mach, r *RootHandler) *Attract

func (*Attract) Update

func (h *Attract) Update(event int)

type BaseFonts

type BaseFonts struct {
	SuperLarge pin.Font
}

type BaseMusic

type BaseMusic struct {
	Boot       *mix.Music
	GameSelect *mix.Music
}

type BaseSounds

type BaseSounds struct {
	Scroll *mix.Chunk
	Select *mix.Chunk
}

type Boot

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

func NewBoot

func NewBoot(m *pin.Mach, r *RootHandler) *Boot

func (*Boot) Update

func (h *Boot) Update(event int)

type GameSelect

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

func NewGameSelect

func NewGameSelect(m *pin.Mach, r *RootHandler) *GameSelect

func (*GameSelect) Update

func (h *GameSelect) Update(event int)

type RootHandler

type RootHandler struct {
	Handler    pin.Handler
	Attract    pin.Handler
	Boot       pin.Handler
	GameSelect pin.Handler
	MM3        pin.Handler
	// contains filtered or unexported fields
}

func NewRootHandler

func NewRootHandler(m *pin.Mach) *RootHandler

func (*RootHandler) Update

func (r *RootHandler) Update(event int)

Jump to

Keyboard shortcuts

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