|
|
@ -15,12 +15,11 @@ import 'package:pinball_flame/pinball_flame.dart';
|
|
|
|
class SparkyFireZone extends Forge2DBlueprint {
|
|
|
|
class SparkyFireZone extends Forge2DBlueprint {
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|
void build(Forge2DGame gameRef) {
|
|
|
|
void build(Forge2DGame gameRef) {
|
|
|
|
addBlueprint(SparkyComputer());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
gameRef.addContactCallback(SparkyBumperBallContactCallback());
|
|
|
|
gameRef.addContactCallback(SparkyBumperBallContactCallback());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
addBlueprint(SparkyComputer());
|
|
|
|
final sparkyTurboChargeSensor = SparkyTurboChargeSensor()
|
|
|
|
final sparkyTurboChargeSensor = SparkyTurboChargeSensor()
|
|
|
|
..initialPosition = Vector2(-13, 49.8);
|
|
|
|
..initialPosition = Vector2(-13, 49.8);
|
|
|
|
|
|
|
|
|
|
|
|
final sparkyAnimatronic = SparkyAnimatronic()
|
|
|
|
final sparkyAnimatronic = SparkyAnimatronic()
|
|
|
|
..position = Vector2(-13.8, -58.2);
|
|
|
|
..position = Vector2(-13.8, -58.2);
|
|
|
|
|
|
|
|
|
|
|
|