State machine

State machines are useful to control game states or to help implementing AI logic.

AS3 State Machine

State machine , | Leave a comment

AS3 State Machine allows you to create simple and hierarchical StateMachines. State Machines are composed of states, and each state has (optional) callbacks for entering and exiting state. It’s also possible to restrict the transition from states and to create hierarchical … Continue reading