next up previous contents
Next: 2.20 TruthProxy Up: 2. Class Reference Previous: 2.18 SoundProxy   Contents

Subsections

2.19 SpeechProxy

The SpeechProxy class is used to control a speech device. Use the say method to send things to say.

Attributes

Methods

SpeechProxy(PlayerClient* pc, unsigned short index,
unsigned char access='c')

Constructor. Leave the access field empty to start unconnected.

int Say(char* str)

Send a phrase to say. The phrase is an ASCII string. Returns the 0 on success, or -1 of there is a problem.



2004-05-31