1 package cz.cuni.amis.pogamut.base.communication.worldview.event; 2 3 import cz.cuni.amis.utils.listener.IListener; 4 5 /** 6 * Abstract listener that listens for world events. 7 * <p><p> 8 * Every listener instance is defining also an event which it wants to listen on 9 * by it's parameter type "Event". That's why there is a private "dummy" method in the ancestor class 10 * that returns it's type so we can (by Java Reflection API) get the class of the event 11 * where to hook the listener to. 12 * 13 * @author Jimmy 14 * @param <EVENT> 15 */ 16 public interface IWorldEventListener<EVENT extends IWorldEvent> extends IListener<EVENT> { 17 18 }