public class EventManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
paused |
Constructor and Description |
---|
EventManager() |
Modifier and Type | Method and Description |
---|---|
void |
callEvent(AtlasEvent event) |
void |
callEventAsync(AtlasEvent event) |
void |
clearAllRegistered() |
void |
registerListener(java.lang.reflect.Method method,
AtlasListener listener,
org.bukkit.plugin.Plugin plugin) |
void |
registerListeners(AtlasListener listener,
org.bukkit.plugin.Plugin plugin) |
void |
unregisterAll(org.bukkit.plugin.Plugin plugin) |
void |
unregisterListener(AtlasListener listener) |
public void registerListener(java.lang.reflect.Method method, AtlasListener listener, org.bukkit.plugin.Plugin plugin) throws ListenParamaterException
ListenParamaterException
public void clearAllRegistered()
public void unregisterAll(org.bukkit.plugin.Plugin plugin)
public void unregisterListener(AtlasListener listener)
public void registerListeners(AtlasListener listener, org.bukkit.plugin.Plugin plugin)
public void callEvent(AtlasEvent event)
public void callEventAsync(AtlasEvent event)