Chelimbalo/players/player/states/death.gd
2025-12-09 22:34:17 +05:00

12 lines
196 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