Package net.citizensnpcs.npc.ai.speech
Class Chat
java.lang.Object
net.citizensnpcs.npc.ai.speech.Chat
- All Implemented Interfaces:
VocalChord
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the name of the vocal chord used in the registration process.voidtalk(SpeechContext context) Called when an NPC'sSpeechControllerneeds to output some text to aTalkableentity.
-
Field Details
-
VOCAL_CHORD_NAME
- See Also:
-
-
Constructor Details
-
Chat
public Chat()
-
-
Method Details
-
getName
Description copied from interface:VocalChordReturns the name of the vocal chord used in the registration process.- Specified by:
getNamein interfaceVocalChord- Returns:
- name of the VocalChord
-
talk
Description copied from interface:VocalChordCalled when an NPC'sSpeechControllerneeds to output some text to aTalkableentity.- Specified by:
talkin interfaceVocalChord- Parameters:
context- TheSpeechContextwith talk information
-