EVENT
- public interface IWorldEventListener<EVENT extends IWorldEvent>
extends cz.cuni.amis.utils.listener.IListener<EVENT>
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.
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.