Class:Speech

From Torque Wiki
Revision as of 14:23, 22 January 2022 by Ihawkins (talk | contribs) (Methods)
⧼monobook-jumptonavigation⧽⧼monobook-jumptosearch⧽

Speech

Utility methods for dealing with talking to the user (since 1.12.6)

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!");