Package robocode

Class PaintEvent

java.lang.Object
robocode.Event
robocode.PaintEvent
All Implemented Interfaces:
Serializable, Comparable<Event>

public final class PaintEvent extends Event
This event occurs when your robot should paint, where the onPaint() is called on your robot.

You can use this event for setting the event priority by calling setEventPriority("PaintEvent", priority)

Author:
Flemming N. Larsen (original)
See Also:
  • Constructor Details

    • PaintEvent

      public PaintEvent()
      Called by the game to create a new PaintEvent.