chore: increase sparky angle

pull/40/head
RuiAlonso 4 years ago
parent 716dc866d2
commit dc5c38b8c2

@ -19,7 +19,7 @@ class SparkyRamp extends PositionComponent with HasGameRef<PinballGame> {
final double _radius = 300; final double _radius = 300;
final double _width = 80; final double _width = 80;
final double _angle = math.pi; final double _angle = radians(200);
final Vector2 _position; final Vector2 _position;
@override @override
@ -36,8 +36,9 @@ class SparkyRamp extends PositionComponent with HasGameRef<PinballGame> {
); );
await add( await add(
SparkyRampArea( SparkyRampArea(
position: _position + Vector2(-19, 6), position: _position + Vector2(-18, -2),
orientation: RampOrientation.down, orientation: RampOrientation.down,
rotation: radians(13),
), ),
); );
await add( await add(

Loading…
Cancel
Save