Chelimbalo/scripts/player/states/death.gd
2025-11-29 23:46:16 +05:00

12 lines
194 B
GDScript

extends State
@export var animation_player: AnimationPlayer
func on_death() -> void:
transition.emit("Death")
func enter() -> void:
animation_player.play("die")
func exit() -> void:
pass