8 lines
176 B
GDScript
8 lines
176 B
GDScript
class_name PlayerHitBallState
|
|
extends PlayerState
|
|
|
|
func enter(_msg := {}):
|
|
player.hit_ball.emit()
|
|
await player.play_hit_ball_animation()
|
|
state_machine.transition_to("Idle")
|