Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
robocode.Event
robocode.StatusEvent
public final class StatusEvent
extends Event
onStatus()
every
turn in a battle to provide the status of the robot.
Constructor Summary | |
|
Method Summary | |
RobotStatus |
|
Methods inherited from class robocode.Event | |
compareTo , getPriority , getTime |
public StatusEvent(RobotStatus status)
This constructor is called internally from the game in order to create a newRobotStatus
.
- Parameters:
status
- the current states
public RobotStatus getStatus()
Returns theRobotStatus
at the time defined byRobot.getTime()
.
- Returns:
- the
RobotStatus
at the time defined byRobot.getTime()
.
- See Also:
getTime()