Hello, I was wondering here how to create a state machine for a turn based rpg.
First I thought to create 2 Enums:
enum states {IDLE, WALK, JUMP, FALL}
enum battle {IDLE, LOW_LIFE, ATTACKING, MAGIC, ITEM, ESCAPE}
But I never made any game like that on godot. Someone can illuminate me and guide me is this is the right way?