Fix: La animación de muerte era incorrecta y salia disparado el sprite
This commit is contained in:
1 parent
9708f4e7ff
commit
def2d16734
3 files changed
+8
-3
No files matched your search
@@ -90,8 +90,8 @@ int Sprite::getHeight()
|
||||
// Establece la posición del objeto
|
||||
void Sprite::setPos(SDL_Rect rect)
|
||||
{
|
||||
x = rect.x;
|
||||
y = rect.y;
|
||||
this->x = rect.x;
|
||||
this->y = rect.y;
|
||||
}
|
||||
|
||||
// Establece el valor de la variable
|
||||
|
||||
Reference in new issue
Block a user