public interface TelegramProvider
MessageDispatcher.addListener(com.badlogic.gdx.ai.msg.Telegraph, int) by providing optional Telegram.extraInfo to be sent
in a Telegram of a given type to the newly registered Telegraph.| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
provideMessageInfo(int msg,
Telegraph receiver)
Provides
Telegram.extraInfo to dispatch immediately when a Telegraph is registered for the given message
type. |
java.lang.Object provideMessageInfo(int msg,
Telegraph receiver)
Telegram.extraInfo to dispatch immediately when a Telegraph is registered for the given message
type.msg - the message type to providereceiver - the newly registered Telegraph. Providers can provide different info depending on the targeted Telegraph.MessageDispatcher.addListener(Telegraph, int),
MessageDispatcher.addListeners(Telegraph, int...)