* This software is made available under the RoboWiki Public Code License (RWPCL). The full text of * the license may be found at http://robowiki.net/cgi-bin/robowiki?RWPCL. |
* This software is made available under the RoboWiki Limited Public Code License (RWLPCL). The full * text of the license may be found at http://robowiki.net/cgi-bin/robowiki?RWLPCL. |
/** * An object that knows about a Robocode Event class and how to invoke its corresponding * EventListener?. * @author Robert J. Walker */ private static abstract class ListenerInvoker?<K extends EventListener?, V extends Event> { /** * Returns the Robocode Event class handled by this ListenerInvoker?. */ protected abstract Class<V> eventClass(); /** * Invokes the given EventListener?, passing in a Robocode Event object. */ protected abstract void invokeListener(K listener, V event); } |
</nowiki></pre> |
</nowiki></pre> |