Plataformas moviles completadas
This commit is contained in:
@@ -356,4 +356,10 @@ void MovingSprite::undoMoveY()
|
||||
void MovingSprite::clearVel()
|
||||
{
|
||||
vx = vy = 0.0f;
|
||||
}
|
||||
|
||||
// Devuelve el incremento en el eje X en pixels
|
||||
int MovingSprite::getIncX()
|
||||
{
|
||||
return (int)x - (int)xPrev;
|
||||
}
|
||||
Reference in New Issue
Block a user