flame_fuse 1.0.3 flame_fuse: ^1.0.3 copied to clipboard
Functional behavior composition for Flame components.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flame_fuse
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flame_fuse: ^1.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_fuse/fuse.dart';
import 'package:flame_fuse/fuses/collisions.dart';
import 'package:flame_fuse/fuses/core.dart';
import 'package:flame_fuse/fuses/hover.dart';
import 'package:flame_fuse/fuses/keys.dart';
import 'package:flame_fuse/fuses/pointers.dart';
import 'package:flame_fuse/fuses/taps.dart';
import 'package:flame_fuse/fuses/taps2.dart';
import 'package:flame_fuse/fuses/timer.dart';