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:
@@ -109,10 +109,18 @@ public class SpeakHandler
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
// issue the speak message on our speak object
|
// 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. */
|
/** Used for acquiring BodyObject references from Names and ClientObjects. */
|
||||||
protected BodyLocator _locator;
|
protected BodyLocator _locator;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user