HiHere is a (hopefully) useful state machine frame work I have been working on:
https://bitbucket.org/dr0id/symplehfsmGame logic is based on state machine in many cases. This is to make it really easy to design and implement such behaviors.
Any feedback welcome. ~DR0ID