From da985e5ca96517c43100661fcc21463660c9ae86 Mon Sep 17 00:00:00 2001 From: Rui Miguel Alonso Date: Mon, 21 Mar 2022 10:08:37 +0100 Subject: [PATCH] Update lib/game/components/bonus_word.dart Co-authored-by: Alejandro Santiago --- lib/game/components/bonus_word.dart | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/game/components/bonus_word.dart b/lib/game/components/bonus_word.dart index c4f6a7fd..cc6391e8 100644 --- a/lib/game/components/bonus_word.dart +++ b/lib/game/components/bonus_word.dart @@ -115,9 +115,11 @@ class BonusLetter extends BodyComponent final String _letter; final int _index; - /// Indicates if [BonusLetter] could be activated on contact with [Ball]. - /// Deactivated during animation of [GameBonus.word] and reactivated once - /// animation is finished. + /// Indicates if a [BonusLetter] can be activated on [Ball] contact. + /// + /// It is disabled whilst animating and enabled again once the animation + /// completes. The animation is triggered when [GameBonus.word] is + /// awarded. bool isEnabled = true; @override