| Modifier and Type | Required Element and Description |
|---|---|
String |
eventType
If you have an event type MyGameEvent.ANY,
then event type is "ANY".
|
| Modifier and Type | Optional Element and Description |
|---|---|
Class<?> |
eventClass
If it's an EntityEvent, then the class is EntityEvent.class,
so if you define your own event class, it'll be MyEvent.class.
|
public abstract String eventType
public abstract Class<?> eventClass
Copyright © 2017. All rights reserved.