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 class StatusEvent
extends Event
onStatus(StatusEvent)
every turn in a battle.
Constructor Summary | |
|
Method Summary | |
RobotStatus |
|
Methods inherited from class robocode.Event | |
compareTo , getPriority , getTime , setPriority , setTime |
public StatusEvent(robocode.peer.RobotPeer robotPeer)
This constructor is called internally from the game in order to create a newRobotStatus
.
- Parameters:
robotPeer
- the RobotPeer containing 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()