Difference (from prior minor revision)
(no other diffs)
Changed: 1,28c1
/* * PluggableRobot, by Robert J. Walker * Home page: http://robowiki.net/cgi-bin/robowiki?PluggableRobot * 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. */ package rjw.pluggablerobot;
import robocode.Event;
/** * An object that knows about a Robocode Event class and how to invoke its corresponding * EventListener. * @author Robert J. Walker */ 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); }