Package robocode.robotinterfaces

Examples of robocode.robotinterfaces.IPaintEvents


   * {@inheritDoc}
   */
  @Override
  final void dispatch(IBasicRobot robot, IRobotStatics statics, Graphics2D graphics) {
    if (statics.isPaintRobot()) {
      IPaintEvents listener = ((IPaintRobot) robot).getPaintEventListener();

      if (listener != null) {
        listener.onPaint(graphics);
      }
    }
  }
View Full Code Here

TOP

Related Classes of robocode.robotinterfaces.IPaintEvents

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.