Ya funcionan los tiles atravesables
This commit is contained in:
@@ -219,6 +219,12 @@ int Player::getStatus()
|
||||
return status;
|
||||
}
|
||||
|
||||
// Obtiene la velocidad en el eje Y del jugador
|
||||
float Player::getVelY()
|
||||
{
|
||||
return sprite->getVelY();
|
||||
}
|
||||
|
||||
// Aplica gravedad al jugador
|
||||
void Player::applyGravity()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user