mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-21 23:49:33 +08:00
Adding multitap with RawGestureDetector
This commit is contained in:
@@ -7,6 +7,7 @@ void main() {
|
||||
runApp(game.widget);
|
||||
}
|
||||
|
||||
/// Includes an example including basic detectors
|
||||
class MyGame extends Game with TapDetector, DoubleTapDetector, PanDetector {
|
||||
final _whitePaint = Paint()..color = const Color(0xFFFFFFFF);
|
||||
final _bluePaint = Paint()..color = const Color(0xFF0000FF);
|
||||
|
||||
Reference in New Issue
Block a user