Package robocode.robotinterfaces

Examples of robocode.robotinterfaces.IAdvancedEvents


   * {@inheritDoc}
   */
  @Override
  final void dispatch(IBasicRobot robot, IRobotStatics statics, Graphics2D graphics) {
    if (statics.isAdvancedRobot()) {
      IAdvancedEvents listener = ((IAdvancedRobot) robot).getAdvancedEventListener();

      if (listener != null) {
        listener.onSkippedTurn(this);
      }
    }
  }
View Full Code Here


   * {@inheritDoc}
   */
  @Override
  final void dispatch(IBasicRobot robot, IRobotStatics statics, Graphics2D graphics) {
    if (statics.isAdvancedRobot()) {
      IAdvancedEvents listener = ((IAdvancedRobot) robot).getAdvancedEventListener();

      if (listener != null) {
        listener.onCustomEvent(this);
      }
    }
  }
View Full Code Here

TOP

Related Classes of robocode.robotinterfaces.IAdvancedEvents

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.