Rename Tapable to Tappable (#868)

This commit is contained in:
Lukas Klingsbo
2021-07-07 10:48:58 +02:00
committed by GitHub
parent c7d48bc16d
commit 1e79a42161
19 changed files with 82 additions and 81 deletions

View File

@ -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