Animatedsprite ya no permite indices fuera de rango

This commit is contained in:
2022-09-25 13:00:39 +02:00
parent 66840ebf11
commit 8a4d2a541d
18 changed files with 79 additions and 71 deletions

View File

@@ -58,7 +58,7 @@ void Item::render()
// Actualiza las variables del objeto
void Item::update()
{
++counter;
counter++;
}
// Obtiene el rectangulo de colision del objeto