Serializable
, Comparable<Event>
public final class RobotDeathEvent extends Event
onRobotDeath()
when another robot (not your robot) dies.Constructor | Description |
---|---|
RobotDeathEvent(String robotName) |
Called by the game to create a new RobotDeathEvent.
|
Modifier and Type | Method | Description |
---|---|---|
String |
getName() |
Returns the name of the robot that died.
|
String |
getRobotName() |
Deprecated.
Use
getName() instead. |
compareTo, getPriority, getTime, setPriority, setTime
public RobotDeathEvent(String robotName)
robotName
- the name of the robot that diedpublic String getName()
@Deprecated public String getRobotName()
getName()
instead.Copyright © 2018. All rights reserved.