]> Untitled Git - frog-ninja.git/blob - player/fall.gd
Refactored and added Fall state
[frog-ninja.git] / player / fall.gd
1 extends Move
2 class_name Fall
3
4
5 func update(_input: InputPacket, delta: float):
6         player.velocity += player.get_gravity() * player.acceleration * delta
7         player.move_and_slide()