1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#include "AssetManager.h" #include "util/log.h" using namespace crepe::api; AssetManager& AssetManager::get_instance(){ static AssetManager instance; return instance; } AssetManager::~AssetManager(){ dbg_trace(); this->asset_cache.clear(); } AssetManager::AssetManager(){ dbg_trace(); }