ebiten: github.com/hajimehoshi/ebiten/internal/hooks Index | Files

package hooks

import "github.com/hajimehoshi/ebiten/internal/hooks"

Index

Package Files

hooks.go

func AppendHookOnBeforeUpdate Uses

func AppendHookOnBeforeUpdate(f func() error)

AppendHookOnBeforeUpdate appends a hook function that is run before the main update function every frame.

func OnResumeAudio Uses

func OnResumeAudio(f func())

func OnSuspendAudio Uses

func OnSuspendAudio(f func())

func ResumeAudio Uses

func ResumeAudio()

func RunBeforeUpdateHooks Uses

func RunBeforeUpdateHooks() error

func SuspendAudio Uses

func SuspendAudio()

Package hooks imports 1 packages (graph) and is imported by 8 packages. Updated 2019-03-10. Refresh now. Tools for package owners.