docs: improved documentation

pull/329/head
alestiago 3 years ago
parent 9f0caa6079
commit 85b26c740f

@ -10,7 +10,7 @@ import 'package:pinball_flame/pinball_flame.dart';
/// {@template scoring_behavior} /// {@template scoring_behavior}
/// Adds [_points] to the score and shows a text effect. /// Adds [_points] to the score and shows a text effect.
/// ///
/// The behavior removes itself after the effect is completed. /// The behavior removes itself after the duration.
/// {@endtemplate} /// {@endtemplate}
class ScoringBehavior extends Component with HasGameRef<PinballGame> { class ScoringBehavior extends Component with HasGameRef<PinballGame> {
/// {@macto scoring_behavior} /// {@macto scoring_behavior}

Loading…
Cancel
Save