module

PointClickEngine::Core::IResourceLoader

Interface for resource loading operations

Instance methods

cleanup_all_resources
Source
load_font(path : String, size : Int32) : Result(Raylib::Font, AssetError)
Source
load_music(path : String) : Result(RAudio::Music, AssetError)
Source
load_sound(path : String) : Result(RAudio::Sound, AssetError)
Source
load_texture(path : String) : Result(Raylib::Texture2D, AssetError)
Source
unload_music(path : String) : Result(Nil, AssetError)
Source
unload_sound(path : String) : Result(Nil, AssetError)
Source
unload_texture(path : String) : Result(Nil, AssetError)
Source