mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-03 04:18:25 +08:00
docs: Remove references to Tappable and Draggable (#2912)
We still had some references to `Tappable` and `Draggable`, this PR removes them and removes a superfluous test for `TapCallbacks`. --------- Co-authored-by: jonathan <sharyari@gmail.com>
This commit is contained in:
@ -23,7 +23,7 @@ import 'package:flutter/material.dart';
|
||||
void addInputStories(Dashbook dashbook) {
|
||||
dashbook.storiesOf('Input')
|
||||
..add(
|
||||
'Tappables',
|
||||
'TapCallbacks',
|
||||
(_) => GameWidget(game: TapCallbacksExample()),
|
||||
codeLink: baseLink('input/tap_callbacks_example.dart'),
|
||||
info: TapCallbacksExample.description,
|
||||
|
||||
@ -6,8 +6,8 @@ import 'package:flutter/material.dart';
|
||||
|
||||
class TapCallbacksExample extends FlameGame {
|
||||
static const String description = '''
|
||||
In this example we show the `Tappable` mixin functionality. You can add the
|
||||
`Tappable` mixin to any `PositionComponent`.\n\n
|
||||
In this example we show the `TapCallbacks` mixin functionality. You can add
|
||||
the `TapCallbacks` mixin to any `PositionComponent`.\n\n
|
||||
Tap the squares to see them change their angle around their anchor.
|
||||
''';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user