jxlstatemachine 0.1.2 copy "jxlstatemachine: ^0.1.2" to clipboard
jxlstatemachine: ^0.1.2 copied to clipboard

A hierarchical finite state machine with support parent child relationships and transition enforcement. Based on Cássio Souza's ActionScript 3 one https://github.com/cassiozen/AS3-State-Machine which [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add jxlstatemachine

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  jxlstatemachine: ^0.1.2

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:jxlstatemachine/jxlstatemachine.dart';
0
likes
25
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

A hierarchical finite state machine with support parent child relationships and transition enforcement. Based on Cássio Souza's ActionScript 3 one https://github.com/cassiozen/AS3-State-Machine which I ported to Lua with some modifications https://github.com/JesterXL/Lua-Corona-SDK-State-Machine that I've incorporated into the Dart one. There are existing state machines in Dart pub, but the Game ones had too many dependencies and the others were too hard to learn quickly.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

MIT (license)

Dependencies

polymer, unittest

More

Packages that depend on jxlstatemachine