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.EventTypepublic SambaEvent(SambaEventType type, java.lang.Object... data)
type - SambaPlayerListener.EventTypedata - An data that can be passed in the eventpublic SambaEventType getType()
SambaPlayerListener.EventTypepublic java.lang.Object getData()
public java.lang.Object[] getDataAll()