docs: improved BallTurboChargingBehavior

pull/323/head
alestiago 3 years ago
parent ff0d0da47f
commit a0aaddcffa

@ -5,14 +5,14 @@ import 'package:pinball_components/pinball_components.dart';
import 'package:pinball_flame/pinball_flame.dart';
/// {@template ball_turbo_charging_behavior}
/// Sets the [Ball] in flames and impulses it
/// Sets the [Ball] in flames and [_impulse]s it.
/// {@endtemplate}
class BallTurboChargingBehavior extends TimerComponent with ParentIsA<Ball> {
/// {@macro ball_turbo_charging_behavior}
BallTurboChargingBehavior({
required Vector2 impulse,
}) : _impulse = impulse,
super(period: 2, removeOnFinish: true);
super(period: 5, removeOnFinish: true);
final Vector2 _impulse;

Loading…
Cancel
Save