Break sendSpeak out into a separate method so that we can override it.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6628 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Andrzej Kapolka
2011-04-20 23:30:12 +00:00
parent ca82921db0
commit 69f8f4ef88
@@ -109,10 +109,18 @@ public class SpeakHandler
} else {
// issue the speak message on our speak object
SpeakUtil.sendSpeak(_speakObj, source.getVisibleName(), null, message, mode);
sendSpeak(source, message, mode);
}
}
/**
* Sends the actual speak message.
*/
protected void sendSpeak (BodyObject source, String message, byte mode)
{
SpeakUtil.sendSpeak(_speakObj, source.getVisibleName(), null, message, mode);
}
/** Used for acquiring BodyObject references from Names and ClientObjects. */
protected BodyLocator _locator;