public class SambaEvent
extends java.lang.Object
Constructor and Description |
---|
SambaEvent(SambaEventType type)
SambaEvent default constructor
|
SambaEvent(SambaEventType type,
java.lang.Object... data)
SambaEvent constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getData()
Get the current data
|
java.lang.Object[] |
getDataAll()
Get all the data
|
SambaEventType |
getType()
Get the current event type
|
public SambaEvent(SambaEventType type)
type
- SambaPlayerListener.EventType
public SambaEvent(SambaEventType type, java.lang.Object... data)
type
- SambaPlayerListener.EventType
data
- An data that can be passed in the eventpublic SambaEventType getType()
SambaPlayerListener.EventType
public java.lang.Object getData()
public java.lang.Object[] getDataAll()