Update lib/game/components/bonus_word.dart

Co-authored-by: Alejandro Santiago <dev@alestiago.com>
pull/61/head
Rui Miguel Alonso 4 years ago committed by GitHub
parent 40c899e780
commit da985e5ca9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -115,9 +115,11 @@ class BonusLetter extends BodyComponent<PinballGame>
final String _letter; final String _letter;
final int _index; final int _index;
/// Indicates if [BonusLetter] could be activated on contact with [Ball]. /// Indicates if a [BonusLetter] can be activated on [Ball] contact.
/// Deactivated during animation of [GameBonus.word] and reactivated once ///
/// animation is finished. /// It is disabled whilst animating and enabled again once the animation
/// completes. The animation is triggered when [GameBonus.word] is
/// awarded.
bool isEnabled = true; bool isEnabled = true;
@override @override

Loading…
Cancel
Save