|
RiTa index |
||||||||||||||||
| Name | RiTaEvent | |||||||||||||||
| Description | Simple class for event-based callbacks (generally dynamically
dispatched to PApplet subclasses). A typical usage is to switch on the type of a RiTaEvent within a callback:
public void onRiTaEvent(RiTaEvent re)
{
switch (re.getType()) {
case RiTa.TIMER_TICK:
...
case RiTa.TEXT_ENTERED:
...
case RiTa.SPEECH_COMPLETED:
...
case RiTa.BEHAVIOR_COMPLETED:
...
}
} |
|||||||||||||||
| Constructors | RiTaEvent(source, type); RiTaEvent(source, type, data); |
|||||||||||||||
| Methods |
|
|||||||||||||||
| Usage | Web & Application |