@Beta public class ObjectiveEvent extends AbstractEvent<ObjectiveEvent.Type,Integer>
Modifier and Type | Class and Description |
---|---|
static class |
ObjectiveEvent.Type
Type of objective events.
|
Constructor and Description |
---|
ObjectiveEvent(ObjectiveEvent.Type type,
Integer objective)
Creates an event of the given type for the specified objective id.
|
ObjectiveEvent(ObjectiveEvent.Type type,
Integer objective,
long time)
Creates an event of the given type for the specified objective id at the given
time.
|
public ObjectiveEvent(ObjectiveEvent.Type type, Integer objective)
type
- the type of the eventobjective
- the objective id the event is aboutpublic ObjectiveEvent(ObjectiveEvent.Type type, Integer objective, long time)
type
- the type of the eventobjective
- the objective id the event is abouttime
- the time of the event