se

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseSE added in v0.0.3

func CloseSE() error

CloseSE closes all sound effects.

func LoadSE added in v0.0.3

func LoadSE() error

LoadSE loads all sound effects.

Types

type Player added in v0.0.3

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

Player is a player to play a sound effect.

var (
	Jump *Player
)

sound effect

func (*Player) Close added in v0.0.3

func (p *Player) Close() error

Close closes the inner resources.

func (*Player) Play added in v0.0.3

func (p *Player) Play() error

Play plays a sound effect

Jump to

Keyboard shortcuts

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