extends Area2D

@onready var JumpPad = $AnimatedSprite2D
@export var JumpPadForce = 300
@onready var jumpsound = $AudioStreamPlayer

func _on_body_entered(body):
	if body is player:
		JumpPad.play("Jump")
		body.jump(JumpPadForce)
		jumpsound.play()
	
