public class LeavingEvent extends Event
Modifier and Type | Field and Description |
---|---|
static String |
GENERAL_DESCRIPTOR
this event does not mean the user is able to notice anything (can be used for warm-up), it indicates
he might be
|
static String |
ID
it means that the addon can guarantee that the user entered an area near izou
|
static String |
STRICT_DESCRIPTOR
it means that the addon can guarantee that the user left an area near izou
|
Modifier | Constructor and Description |
---|---|
protected |
LeavingEvent(Identification source,
List<String> descriptors)
Creates a new Event Object
|
Modifier and Type | Method and Description |
---|---|
static Optional<LeavingEvent> |
createLeavingEvent(Identification source,
boolean strict,
List<String> descriptors)
creates a new LeavingEvent
|
addDescriptor, addEventLifeCycleListener, addResource, addResources, containsDescriptor, createEvent, createEvent, getAllInformations, getDescriptors, getEventBehaviourController, getID, getListResourceContainer, getSource, getType, lifecycleCallback, replaceDescriptors, setDescriptors, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isOwner
public static final String GENERAL_DESCRIPTOR
public static final String STRICT_DESCRIPTOR
public static final String ID
protected LeavingEvent(Identification source, List<String> descriptors) throws IllegalArgumentException
source
- the source of the Event, most likely a this reference.descriptors
- the descriptors to initialize the Event withIllegalArgumentException
- if one of the Arguments is null or emptypublic static Optional<LeavingEvent> createLeavingEvent(Identification source, boolean strict, List<String> descriptors)
source
- the callerstrict
- whether the addon can guarantee that the user is arounddescriptors
- the descriptorsCopyright © 2016. All rights reserved.