public class LocalEventManager extends Object
| Constructor and Description |
|---|
LocalEventManager() |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
addListenerForEvent(ILocalEventListener<T> l,
Class<? extends T> eventClass)
Method will add an listener, listening for the given event.
|
<T> void |
eventFired(T firedEvent)
fire an event.
|
static LocalEventManager |
getInstance() |
public <T> void addListenerForEvent(@Nonnull ILocalEventListener<T> l, @Nonnull Class<? extends T> eventClass)
eventObject - l - public <T> void eventFired(@Nonnull T firedEvent) throws Exception
firedEvent - Exceptionpublic static LocalEventManager getInstance()
Copyright © 2017 etc.to. All rights reserved.