Serializable, Comparable<Event>public final class WinEvent extends Event
onWin() when your robot
wins the round in a battle.| Constructor | Description |
|---|---|
WinEvent() |
Called by the game to create a new WinEvent.
|
| Modifier and Type | Method | 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 © 2018. All rights reserved.