citylimits/addons/simple-state/demo/emit_next.gd
Tony Bark c980445340 Major clean up and reorganization
- Upgraded to Godot 4
- Just remembered the basic principles are based on a tile editor, and dramatically simplified from there. Derp.
- New state machine and license display add-ons.
- Re-licensed under the GPL because Micropolis' assets aren't under a separate one.
2023-03-14 06:17:27 -04:00

6 lines
165 B
GDScript

extends AnimationState
func _update(_delta: float) -> void:
if Input.is_action_just_pressed(get_root().NEXT_STATE_ACTION):
choose_new_substate_requested.emit()