#ifndef JNR_ASSETS_H
#define JNR_ASSETS_H

#include <SDL2/SDL.h>
#include "engine/audio.h"

/* Initialize asset manager (call after engine_init) */
void assets_init(SDL_Renderer *renderer);

/* Load / retrieve cached texture by path */
SDL_Texture *assets_get_texture(const char *path);

/* Load / retrieve cached sound by path */
Sound assets_get_sound(const char *path);

/* Load / retrieve cached music by path */
Music assets_get_music(const char *path);

/* Free all loaded assets */
void assets_free_all(void);

#endif /* JNR_ASSETS_H */
