Class PhaseListenersImpl
java.lang.Object
de.kentoj.scrow.bukkit.minigame.phase.event.PhaseListenersImpl
- All Implemented Interfaces:
PhaseListeners,org.bukkit.event.Listener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal <E extends org.bukkit.event.Event>
voidon(Class<E> clazz, org.bukkit.event.EventPriority priority, EventHandler<E> handler) voidUnregisters all listeners bound to this phase.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.kentoj.scrow.bukkit.minigame.phase.event.PhaseListeners
cancel, on
-
Constructor Details
-
PhaseListenersImpl
public PhaseListenersImpl()
-
-
Method Details
-
on
public final <E extends org.bukkit.event.Event> void on(Class<E> clazz, org.bukkit.event.EventPriority priority, EventHandler<E> handler) - Specified by:
onin interfacePhaseListeners
-
unregisterAll
public void unregisterAll()Description copied from interface:PhaseListenersUnregisters all listeners bound to this phase. Note: this is automatically called on phase end.- Specified by:
unregisterAllin interfacePhaseListeners
-