final void dispatch(IBasicRobot robot, IRobotStatics statics, Graphics2D graphics) {
if (statics.isInteractiveRobot()) {
IInteractiveEvents listener = ((IInteractiveRobot) robot).getInteractiveEventListener();
if (listener != null) {
listener.onKeyPressed(getSourceEvent());
}
}
}
/**