Els objectes de Text es precarreguen al inici
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
// Constructor
|
||||
Intro::Intro()
|
||||
: texture_(Resource::get()->getTexture("intro.png")),
|
||||
text_(std::make_shared<Text>(Resource::get()->getTexture("nokia.png"), Resource::get()->getTextFile("nokia.txt")))
|
||||
text_(Resource::get()->getText("nokia"))
|
||||
{
|
||||
|
||||
// Inicializa variables
|
||||
|
||||
Reference in New Issue
Block a user