Documentation
¶
Index ¶
Constants ¶
View Source
const ( NONE = iota GB GBA )
View Source
const ( MENU_AUDIO_GOOD = 0 MENU_AUDIO_BAD = 1 MENU_AUDIO_REALGOOD = 2 )
Variables ¶
This section is empty.
Functions ¶
func WriteGameData ¶
func WriteGameData(gameData *[]GameData)
Types ¶
type GameData ¶
type GameData struct {
RomPath string `json:"RomPath"`
ArtPath string `json:"ArtPath"`
Image *ebiten.Image `json:"-"`
Type int `json:"-"`
}
func LoadGameData ¶
func LoadGameData() []GameData
func ReorderGameData ¶
type Menu ¶
type Menu struct {
SelectedIdx int
Data []GameData
Splash *ebiten.Image
// contains filtered or unexported fields
}
func (*Menu) InputHandler ¶
func (*Menu) SplashImage ¶
type MenuPlayer ¶
type MenuPlayer struct {
// contains filtered or unexported fields
}
func NewMenuPlayer ¶
func NewMenuPlayer(audioContext *audio.Context) (*MenuPlayer, error)
func (*MenuPlayer) Play ¶
func (p *MenuPlayer) Play(bytes []byte)
Click to show internal directories.
Click to hide internal directories.