]> purplebirdman git - frog-ninja.git/blob - script_templates/State/new_state.gd
Squashed commit of the following:
[frog-ninja.git] / script_templates / State / new_state.gd
1 extends State
2 class_name NewState
3
4
5 func should_enter(input: InputPacket) -> String:
6         input.player_actions.sort_custom(states_priority_sort)
7         return input.player_actions[0]
8
9
10 func update(_input: InputPacket, _delta: float):
11         pass
12
13
14 func on_enter_state():
15         pass
16
17
18 func on_exit_state():
19         pass