mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 03:15:43 +08:00
Rename Tapable to Tappable (#868)
This commit is contained in:
@ -7,7 +7,7 @@ import 'package:flame/game.dart';
|
||||
import 'package:flame/gestures.dart';
|
||||
import 'package:flame/palette.dart';
|
||||
|
||||
class Square extends PositionComponent with HasGameRef<Priority>, Tapable {
|
||||
class Square extends PositionComponent with HasGameRef<Priority>, Tappable {
|
||||
late final Paint paint;
|
||||
|
||||
Square(Vector2 position) {
|
||||
@ -43,7 +43,7 @@ class Square extends PositionComponent with HasGameRef<Priority>, Tapable {
|
||||
}
|
||||
}
|
||||
|
||||
class Priority extends BaseGame with HasTapableComponents {
|
||||
class Priority extends BaseGame with HasTappableComponents {
|
||||
@override
|
||||
Future<void> onLoad() async {
|
||||
final squares = [
|
||||
|
||||
Reference in New Issue
Block a user