MCPcopy
hub / github.com/EngoEngine/engo / Preload

Method Preload

common/audio_test.go:29–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27func (*testAudioScene) Type() string { return "TestAudioScene" }
28
29func (*testAudioScene) Preload() {
30 if err := engo.Files.Load("1.ogg", "sfx_coin_double2.wav", "TripleShot.mp3"); err != nil {
31 panic(err)
32 }
33}
34
35func (t *testAudioScene) Setup(u engo.Updater) {
36 var err error

Callers

nothing calls this directly

Calls 1

LoadMethod · 0.65

Tested by

no test coverage detected