Afegida nova tipografia 04b_25
Eliminades tipografies que no s'utilitzaven La classe Text ara pot tornar una textura amb el text
This commit is contained in:
@@ -139,9 +139,7 @@ Intro::Intro()
|
||||
texts_[8]->setSpeed(16);
|
||||
|
||||
for (auto &text : texts_)
|
||||
{
|
||||
text->center(param.game.game_area.center_x);
|
||||
}
|
||||
}
|
||||
|
||||
// Recarga todas las texturas
|
||||
@@ -171,9 +169,7 @@ void Intro::checkEvents()
|
||||
case SDL_WINDOWEVENT:
|
||||
{
|
||||
if (event.window.event == SDL_WINDOWEVENT_SIZE_CHANGED)
|
||||
{
|
||||
reloadTextures();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user