Package robocode
Class PaintEvent
- java.lang.Object
-
- robocode.Event
-
- robocode.PaintEvent
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Event>
public final class PaintEvent extends Event
This event occurs when your robot should paint, where theonPaint()
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PaintEvent()
Called by the game to create a new PaintEvent.
-
Method Summary
-
Methods inherited from class robocode.Event
compareTo, getPriority, getTime, setPriority, setTime
-
-