public class Chat extends Object implements VocalChord
Modifier and Type | Field and Description |
---|---|
String |
VOCAL_CHORD_NAME |
Constructor and Description |
---|
Chat() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the vocal chord used in the registration process.
|
void |
talk(SpeechContext context)
Called when an NPC's
SpeechController needs to output some text to a Talkable entity. |
public final String VOCAL_CHORD_NAME
public String getName()
VocalChord
getName
in interface VocalChord
public void talk(SpeechContext context)
VocalChord
SpeechController
needs to output some text to a Talkable
entity.talk
in interface VocalChord
context
- The SpeechContext
with talk informationCopyright © 2021. All rights reserved.