Package robocode.robotinterfaces

Examples of robocode.robotinterfaces.IBasicEvents


  /**
   * {@inheritDoc}
   */
  @Override
  final void dispatch(IBasicRobot robot, IRobotStatics statics, Graphics2D graphics) {
    IBasicEvents listener = robot.getBasicEventListener();

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


  /**
   * {@inheritDoc}
   */
  @Override
  final void dispatch(IBasicRobot robot, IRobotStatics statics, Graphics2D graphics) {
    IBasicEvents listener = robot.getBasicEventListener();

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

  /**
   * {@inheritDoc}
   */
  @Override
  final void dispatch(IBasicRobot robot, IRobotStatics statics, Graphics2D graphics) {
    IBasicEvents listener = robot.getBasicEventListener();

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

TOP

Related Classes of robocode.robotinterfaces.IBasicEvents

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.