public interface CaptainUpUIEvents
Modifier and Type | Interface and Description |
---|---|
static interface |
CaptainUpUIEvents.Listener |
static interface |
CaptainUpUIEvents.OnClick
Aggregates the flags for different On Click events from the Captain Up UI.
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(CaptainUpUIEvents.Listener listener,
int event)
Adds a listener object for specific event or events.
|
void |
removeListener(CaptainUpUIEvents.Listener listener) |
void addListener(CaptainUpUIEvents.Listener listener, int event)
listener
- the listener objectevent
- the flags of the event or events listened to. Use the Or Operator (|) to concat
multiple event IDs together.void removeListener(CaptainUpUIEvents.Listener listener)