cz.cuni.amis.pogamut.base.communication.worldview.event
Interface IWorldEventListener<EVENT extends IWorldEvent>
- Type Parameters:
EVENT
-
- All Superinterfaces:
- java.util.EventListener, IListener<EVENT>
- All Known Subinterfaces:
- IWorldObjectEventListener<OBJECT,EVENT>, IWorldObjectListener<OBJECT>
- All Known Implementing Classes:
- Items.EndMessageListener, Items.ItemPickedUpListener, Items.ItemsListener, Items.MapPointsListener, Items.NavPointListener, Vision
public interface IWorldEventListener<EVENT extends IWorldEvent>
- extends IListener<EVENT>
Abstract listener that listens for world events.
Every listener instance is defining also an event which it wants to listen on
by it's parameter type "Event". That's why there is a private "dummy" method in the ancestor class
that returns it's type so we can (by Java Reflection API) get the class of the event
where to hook the listener to.
Methods inherited from interface cz.cuni.amis.utils.listener.IListener |
notify |