flame_state_machine 1.0.5 copy "flame_state_machine: ^1.0.5" to clipboard
flame_state_machine: ^1.0.5 copied to clipboard

A lightweight, type-safe state machine for the Flame game engine, enabling modular and reusable behavior for Flame components.

1.0.5 #

  • Added GitHub Actions CI badge to README.md.
  • Added topics and issue_tracker fields to pubspec.yaml for improved pub.dev metadata.
  • Supressed Linter warning avoid_print inside the example.

1.0.4 #

  • Fixed: incorrect state parameter was being passed to the onExit() callback.

1.0.3 #

  • Added state check in setState to avoid redundant updates.
  • Fixed: previousState was not being set properly.
  • Improve code readability and consistency.

1.0.2 #

  • Refactored internal state transition logic for clarity and reuse (no functional changes).
  • Replaced inline state updates with setState calls in the StateMachine class.
  • Added status badges to README.md for better project visibility.

1.0.1 #

  • Added example
  • Updated documentation

1.0.0 #

  • Initial release
3
likes
0
points
42
downloads

Publisher

verified publisherbszarlej.de

Weekly Downloads

A lightweight, type-safe state machine for the Flame game engine, enabling modular and reusable behavior for Flame components.

Repository (GitHub)
View/report issues

Topics

#flame #state-machine #game-development #game-engine #dart

License

unknown (license)

Dependencies

flame, flutter

More

Packages that depend on flame_state_machine