Skip to content

thexaib/robotlegs-extensions-SignalStateMachine

 
 

Repository files navigation

AS3 Signal StateMachine for Robotlegs

An Signal driven StateMachine utility with six transition phases:

version 0.5.0

  1. entering guard: Allows for testing of conditions to assess whether it is permissible to enter the target state. If not, the transition can be cancelled.
  2. exiting guard: The first state-specific phase, it allows for testing of conditions to assess whether it is permissible to leave the current state. If not, the transition can be cancelled.
  3. cancelled: Occurs if the transition is cancelled in either the entering guard or the exiting guard.
  4. teardown: Occurs after the state has changed, but before the entered phase of the target state
  5. entered: the final state-specific phase indicates that the transition to the new state has been successful.
  6. changed: this post-transition phase sends a general notification that the state has changed.

Documentation

Dependencies:

Examples:

See also:

Links:

StateMachine.org
What is a Finite State Machine?
Robotlegs Website
PureMVC Website

License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

An Signal driven AS3-StateMachine implementation for Robotlegs, with six transition phases

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • ActionScript 100.0%