mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-10-31 08:56:01 +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
	 Lukas Klingsbo
					Lukas Klingsbo