Juten Tach,
today i release a little library i have been working on for quite a while. It contains three little class collections, i have used in the past and i thought, they might be useful for some.
CommandCollection is a little ActionScript 3 library around using commands. It includes three tools:
- Process
- BranchProcess
- StateMachine
Process is essentially a queue, in which you can put commands (synchronous or asynchronous), which will be executed sequentially.
BranchProcess is similar, but allows you to build a tree of commands with the ability of one commands result having an impact on which command comes next.
StateMachine is a classical finite state machine, that supports input commands for each state and is navigable. Means, you can aim for a state and the state machine will calculate a path to the target state and will try to reach it.
CommandCollection comes as .swc for integration into your project. Go check it out at http://code.google.com/p/command-collection/.
No comments:
Post a Comment