Package net.citizensnpcs.api.ai.speech
Class SimpleSpeechController
java.lang.Object
net.citizensnpcs.api.ai.speech.SimpleSpeechController
- All Implemented Interfaces:
SpeechController
Simple implementation of
SpeechController
which allows a NPC to speak with any registered VocalChord
.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SimpleSpeechController
-
-
Method Details
-
speak
Description copied from interface:SpeechController
Sends the speechController'sNPC
andSpeechContext
to the current defaultVocalChord
for the NPC. If none, the defaultVocalChord
is used.- Specified by:
speak
in interfaceSpeechController
- Parameters:
context
- The message to speak
-