EasyFSM is aimed to automatically generate code for finite state machine, especially for the NPC behavior programming in games. Using this tool, you just need to edit a .fsm file to describe the state machince concisely. It will generate the Java code for you according the .fsm file. Also, a .gv file for GraphiZ can be created for visualizing the finte state machine.
Q:How to install?
A: First, make sure you have installed flex and bison. Then just type the command: make.
Q: How to use?
A: You can see the example of