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

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

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flame_state_machine

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

dependencies:
  flame_state_machine: ^2.0.3

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

Import it

Now in your Dart code, you can use:

import 'package:flame_state_machine/flame_state_machine.dart';
3
likes
160
points
206
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

Documentation

API reference

License

MIT (license)

Dependencies

flame, flutter

More

Packages that depend on flame_state_machine