PureMVC Haxe Utility: State Machine