Añadidas mas funciones del código viejo

This commit is contained in:
2022-08-10 20:49:40 +02:00
parent b7a2273d49
commit 3e9051f02d
5 changed files with 8 additions and 48 deletions

View File

@@ -12,10 +12,8 @@ Director::Director(std::string path)
// Crea todos los objetos del juego
eventHandler = new SDL_Event();
// text.white = new Text("", nullptr, nullptr);
screen = new Screen(window, renderer);
asset = new Asset(path.substr(0, path.find_last_of("\\/")));
setFileList();
// Inicializa todas las variables