Los items ya parecen funcionar. revisar power ball y los puntos al coger items

This commit is contained in:
2022-10-03 14:11:13 +02:00
parent 91b868572e
commit 99b61c4b2d
5 changed files with 32 additions and 63 deletions

View File

@@ -190,13 +190,10 @@ void Item::disable()
// Actualiza el objeto a su posicion, animación y controla los contadores
void Item::update()
{
if (enabled)
{
move();
sprite->animate();
updateTimeToLive();
checkTimeToLive();
}
move();
sprite->animate();
updateTimeToLive();
checkTimeToLive();
}
// Actualiza el contador