Class:Speech

From Torque Wiki
Revision as of 20:28, 30 January 2022 by Ihawkins (talk | contribs) (Speech)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
⧼monobook-jumptonavigation⧽⧼monobook-jumptosearch⧽

Speech

Utility methods for dealing with talking to the user

Methods

    /**
     * Starts the TTS system and 'speaks' to the user
     *
     * @param text The text to speak to the user
     */
    public static void speak(String text);

Examples

An example usage might look like:

  Speech.speak("Number five is alive!");