flame_tapable_component 1.0.0
flame_tapable_component: ^1.0.0 copied to clipboard
TapableComponent class for Flame engine that uses localPosition rather than globalPosition
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flame_tapable_componentThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flame_tapable_component: ^1.0.0Alternatively, 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_tapable_component/flame_tapable_component.dart';