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

Method Resource

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

Resource returns the given resource, and an error if it didn't succeed.

(url string)

Source from the content-addressed store, hash-verified

17
18 // Resource returns the given resource, and an error if it didn't succeed.
19 Resource(url string) (Resource, error)
20}
21
22// FileLoaderRooter must be implemented by file loaders that need to known the

Callers 15

TestFilesResourceFunction · 0.65
ResourceMethod · 0.65
LoadedPlayerFunction · 0.65
TestTMXGridFunction · 0.65
TestTMXAssetFunction · 0.65
TestTMXLevelFunction · 0.65
TestTMXLevelIsometricFunction · 0.65
createAtlasFromXMLFunction · 0.65
NewSpritesheetFromFileFunction · 0.65

Implementers 7

testLoaderassets_test.go
Formatsassets.go
fontLoadercommon/font_filetype.go
tmxLoadercommon/tmx_filetype.go
audioLoadercommon/audio_filetype.go
textureAtlasLoadercommon/texture_atlas.go
imageLoadercommon/render_filetype.go

Calls

no outgoing calls

Tested by 6

TestFilesResourceFunction · 0.52
TestTMXGridFunction · 0.52
TestTMXAssetFunction · 0.52
TestTMXLevelFunction · 0.52
TestTMXLevelIsometricFunction · 0.52