/SwiftStateMachine

Swift 3.0 StateMachine for Games and Animation

Primary LanguageSwift

SwiftStateMachine

Swift 3.0 StateMachine for Games and Animation

This State Machine includes a Pause feature that allows the state's update call to be blocked under special conditions

Enter - Callback for a State after it has replaced another
Update - Callback for when the StateMachine recieves the Update call
Play - Callback for when a State has Unpaused the Update Callback
Pause - Callback for when a State has Paused the Update Callback
Exit - Callback for a State before it is replaced by another