Añadido el procedimiento reLoadTexture a todos los objetos que lo necesitaban
This commit is contained in:
@@ -78,4 +78,10 @@ SDL_Point Item::getPos()
|
||||
{
|
||||
const SDL_Point p = {sprite->getPosX(), sprite->getPosY()};
|
||||
return p;
|
||||
}
|
||||
|
||||
// Recarga la textura
|
||||
void Item::reLoadTexture()
|
||||
{
|
||||
texture->reLoad();
|
||||
}
|
||||
Reference in New Issue
Block a user