What I learned building an enemy state machine in Godot 4

· Dev.to