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

Method SetRoot

assets.go:32–32  ·  view source on GitHub ↗

SetRoot gives the root to the file loader. Generally before calling the Load method

(root string)

Source from the content-addressed store, hash-verified

30 // SetRoot gives the root to the file loader. Generally before calling
31 // the Load method
32 SetRoot(root string)
33}
34
35// Resource represents a game resource, such as an image or a sound.

Callers 15

RunFunction · 0.65
TestFilesSetRootFunction · 0.65
TestFilesLoadFunction · 0.65
TestFilesMultipleLoadFunction · 0.65
loadMethod · 0.65
LoadReaderDataMethod · 0.65
TestAudioLoaderLoadOggFunction · 0.65
TestAudioLoaderLoadWavFunction · 0.65

Implementers 2

Formatsassets.go
tmxLoadercommon/tmx_filetype.go

Calls

no outgoing calls

Tested by 15

TestFilesSetRootFunction · 0.52
TestFilesLoadFunction · 0.52
TestFilesMultipleLoadFunction · 0.52
TestAudioLoaderLoadOggFunction · 0.52
TestAudioLoaderLoadWavFunction · 0.52
TestAudioLoaderLoadMP3Function · 0.52
TestAudioLoaderUnloadFunction · 0.52
TestAudioPlayerURLFunction · 0.52