package
0.0.0-20231019115643-d76522940a9b
Repository: https://github.com/alacrity-engine/core.git
Documentation: pkg.go.dev

# Functions

NewResourceLoader crates a new resource loader for the specified resource file.
No description provided by the author
RaiseErrorAnimationAlreadyExists returns a new error about the animation that is already loaded.
RaiseErrorAnimationDoesntExist returns a new error about the animation that is not yet loaded.
RaiseErrorAudioAlreadyExists returns a new error about the audio that is already loaded.
RaiseErrorAudioAlreadyExists returns a new error about the audio that doesn't exist in the resource buffer.
RaiseErrorFontAlreadyExists returns a new error about the font that is already loaded.
RaiseErrorFontDoesntExist returns a new error about the font that is not yet loaded.
RaiseErrorPictureAlreadyExists returns a new error about picture that is already loaded.
RaiseErrorPictureDoesntExist returns a new error about the picture that is not yet loaded.
No description provided by the author
No description provided by the author

# Structs

ErrorAnimationAlreadyExists is raised when the resource loader tries to put the animation that is already loaded in the buffer.
ErrorAnimationDoesntExist is raised when the resource loader tries to take the animation that isn't yet loaded.
ErrorAudioAlreadyExists is raised when the resource loader tries to put the audio that is already loaded in the buffer.
ErrorAudioDoesntExist is raised when the resource loader tries to extract the audio from the resource buffer and it doesn't exist.
ErrorFontAlreadyExists is raised when the resource loader tries to put the font that is already loaded in the buffer.
ErrorFontDoesntExist is raised when the resource loader tries to take the font that isn't yet loaded.
ErrorPictureAlreadyExists is raised when the resource loader tries to put the picture that is already loaded in the buffer.
ErrorPictureDoesntExist is raised when the resource loader tries to take the picture that isn't yet loaded.
No description provided by the author
No description provided by the author
ResourceLoader loads sprites, animations, sound and text from resource files.