Function loadAnimation
Wraps IMG_LoadAnimation
(from SDL_image 2.6) which loads an animation from a filesystem path into an
Animation
Parameters
Name | Description |
---|---|
file | path to the animation file |
Returns
Animation
of the loaded animated image
Throws
dsdl
if failed to load the animation