robocode
Class RobotDeathEvent
- Comparable, Serializable
public final class RobotDeathEvent
This event is sent to
onRobotDeath()
when another robot (not your robot) dies.
- Mathew A. Nelson (original)
RobotDeathEvent(String robotName) - Called by the game to create a new RobotDeathEvent.
|
RobotDeathEvent
public RobotDeathEvent(String robotName)
Called by the game to create a new RobotDeathEvent.
robotName
- the name of the robot that died
String getRobotName
public @Deprecated String getRobotName()
Use getName()
instead.
- the name of the robot that died
getName
public String getName()
Returns the name of the robot that died.
- the name of the robot that died