1extends Node
2# Base interface for all states: it doesn't do anything by itself,
3# but forces us to pass the right arguments to the methods below
4# and makes sure every State object had all of these methods.
5
6# warning-ignore:unused_signal
7signal finished(next_state_name)
8
9# Initialize the state. E.g. change the animation.
10func enter():
11	pass
12
13
14# Clean up the state. Reinitialize values like a timer.
15func exit():
16	pass
17
18
19func handle_input(_event):
20	pass
21
22
23func update(_delta):
24	pass
25
26
27func _on_animation_finished(_anim_name):
28	pass
29