mirror of https://github.com/flutter/pinball.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.2 KiB
42 lines
1.2 KiB
import 'package:flame/input.dart';
|
|
import 'package:flame_forge2d/flame_forge2d.dart';
|
|
import 'package:flutter/foundation.dart';
|
|
import 'package:flutter/services.dart';
|
|
import 'package:mocktail/mocktail.dart';
|
|
import 'package:pinball/game/game.dart';
|
|
import 'package:pinball/theme/theme.dart';
|
|
|
|
class MockPinballGame extends Mock implements PinballGame {}
|
|
|
|
class MockWall extends Mock implements Wall {}
|
|
|
|
class MockBottomWall extends Mock implements BottomWall {}
|
|
|
|
class MockBall extends Mock implements Ball {}
|
|
|
|
class MockContact extends Mock implements Contact {}
|
|
|
|
class MockGameBloc extends Mock implements GameBloc {}
|
|
|
|
class MockThemeCubit extends Mock implements ThemeCubit {}
|
|
|
|
class MockRawKeyDownEvent extends Mock implements RawKeyDownEvent {
|
|
@override
|
|
String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
|
|
return super.toString();
|
|
}
|
|
}
|
|
|
|
class MockRawKeyUpEvent extends Mock implements RawKeyUpEvent {
|
|
@override
|
|
String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
|
|
return super.toString();
|
|
}
|
|
}
|
|
|
|
class MockTapUpInfo extends Mock implements TapUpInfo {}
|
|
|
|
class MockEventPosition extends Mock implements EventPosition {}
|
|
|
|
class MockBonusLetter extends Mock implements BonusLetter {}
|