Serializable
, Comparable<Event>
public final class DeathEvent extends Event
onDeath()
when your
robot dies.Constructor | Description |
---|---|
DeathEvent() |
Called by the game to create a new DeathEvent.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getPriority() |
Returns the priority of this event.
|
compareTo, getTime, setPriority, setTime
public 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 Event
Copyright © 2018. All rights reserved.