void Assets::loadImg(string imgName) { CachedImage * img = new CachedImage(); img->loadImage(imgName); img->imgName = imgName; Instance()->images.push_back( img ); }