Closed zepumph closed 1 year ago
@marlitas and I took a go a this and right away needed to convert announcer
to protected
to use it in NumberSuiteCommonUtteranceQueue, which seemed fine, and I previously have asked @jessegreenberg if that is okay. Then, we discovered I needed to reference it publicly in LanguageAndVoiceControl and we weren't sure if that was okay or if I should revert to a subclass-specific reference for this case. @zepumph what do you think? Okay to make it public readonly
?
Here is a working patch for all changes needed for this issue:
@zepumph @marlitas and I discussed on Zoom and @zepumph gave the okay for public readonly
. Committed above, closing!
Since https://github.com/phetsims/utterance-queue/commit/7d6aa7440daf6ef38e9c66cee9257547e07d6930, we can provide a more specific Announcer subclass. This will let us get rid of the variable:
numberSuiteCommonAnnouncer
. Over to @chrisklus for the minor cleanup.