mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 10:38:17 +08:00
Rename Tapable to Tappable (#868)
This commit is contained in:
@ -11,7 +11,7 @@ import 'package:flutter/material.dart' hide Image, Draggable;
|
||||
|
||||
enum Shapes { circle, rectangle, polygon }
|
||||
|
||||
class OnlyShapes extends BaseGame with HasTapableComponents {
|
||||
class OnlyShapes extends BaseGame with HasTappableComponents {
|
||||
final shapePaint = BasicPalette.red.paint()..style = PaintingStyle.stroke;
|
||||
final _rng = Random();
|
||||
|
||||
@ -52,7 +52,7 @@ class OnlyShapes extends BaseGame with HasTapableComponents {
|
||||
}
|
||||
}
|
||||
|
||||
class MyShapeComponent extends ShapeComponent with Tapable {
|
||||
class MyShapeComponent extends ShapeComponent with Tappable {
|
||||
MyShapeComponent(Shape shape, Paint shapePaint) : super(shape, shapePaint);
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user