public class VocalModuleEvent extends AbstractACTREvent<IVocalModule,IVocalModuleListener>
Modifier and Type | Class and Description |
---|---|
static class |
VocalModuleEvent.Type |
Constructor and Description |
---|
VocalModuleEvent(IVocalModule source) |
VocalModuleEvent(IVocalModule source,
VocalModuleEvent.Type type,
VocalizationCommand vocalization) |
Modifier and Type | Method and Description |
---|---|
void |
fire(IVocalModuleListener listener)
dispatch this event to a listener on the provided executor
|
VocalModuleEvent.Type |
getType() |
VocalizationCommand |
getVocalization() |
getSimulationTime, getSource, getSystemTime, setSimulationTime, setSource
public VocalModuleEvent(IVocalModule source, VocalModuleEvent.Type type, VocalizationCommand vocalization)
public VocalModuleEvent(IVocalModule source)
public VocalModuleEvent.Type getType()
public VocalizationCommand getVocalization()
public void fire(IVocalModuleListener listener)
IACTREvent
fire
in interface IACTREvent<IVocalModule,IVocalModuleListener>
fire
in class AbstractACTREvent<IVocalModule,IVocalModuleListener>