mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 09:39:12 +08:00
docs: Deprecate TapDetector in favour of TapCallbacks (#2886)
Deprecate `TapDetector` in favour of `TapCallbacks`
This commit is contained in:
@ -4,10 +4,9 @@ import 'package:flame/events.dart';
|
||||
import 'package:flame/experimental.dart';
|
||||
import 'package:flame/extensions.dart';
|
||||
import 'package:flame/game.dart';
|
||||
import 'package:flame/input.dart';
|
||||
import 'package:flame/math.dart';
|
||||
|
||||
class SpawnComponentExample extends FlameGame with TapDetector {
|
||||
class SpawnComponentExample extends FlameGame {
|
||||
static const String description =
|
||||
'Tap on the screen to start spawning Embers within different shapes.';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user