public final class DeathEvent extends Event
onDeath() when your
robot dies.| Constructor and Description |
|---|
DeathEvent()
Called by the game to create a new DeathEvent.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority()
Returns the priority of this event.
|
compareTo, getTime, setPriority, setTimepublic final int getPriority()
An event priority is a value from 0 - 99. The higher value, the higher priority.
The default priority is 80, but varies depending on the type of event.
getPriority in class EventCopyright © 2021 Robocode. All Rights Reserved.