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