| File | Date | Author | Commit |
|---|---|---|---|
| branches | 2012-12-27 | allura | [r1] Initial commit |
| tags | 2012-12-27 | allura | [r1] Initial commit |
| trunk | 2012-12-27 | lixuanchong | [r4] |
| README | 2012-12-27 | lixuanchong | [r2] Initial commit |
| easyfsm.cpp | 2012-12-27 | lixuanchong | [r2] Initial commit |
| easyfsm.h | 2012-12-27 | lixuanchong | [r2] Initial commit |
| example.fsm | 2012-12-27 | lixuanchong | [r2] Initial commit |
| example.gv | 2012-12-27 | lixuanchong | [r2] Initial commit |
| example.java | 2012-12-27 | lixuanchong | [r2] Initial commit |
| generator.cpp | 2012-12-27 | lixuanchong | [r2] Initial commit |
| generator.h | 2012-12-27 | lixuanchong | [r2] Initial commit |
| lex.l | 2012-12-27 | lixuanchong | [r2] Initial commit |
| makefile | 2012-12-27 | lixuanchong | [r2] Initial commit |
| parser.y | 2012-12-27 | lixuanchong | [r2] Initial commit |
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