Pequeños ajustes y detalles

This commit is contained in:
2022-10-07 13:56:51 +02:00
parent bb20522172
commit c7109a46cd
11 changed files with 200 additions and 48 deletions

View File

@@ -595,4 +595,13 @@ void Player::updatePowerUpHeadOffset()
}
}
}
}
// Pone las texturas del jugador
void Player::setPlayerTextures(std::vector<LTexture *> texture)
{
headSprite->setTexture(texture.at(0));
bodySprite->setTexture(texture.at(1));
legsSprite->setTexture(texture.at(2));
deathSprite->setTexture(texture.at(3));
}