|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrobocode.Event
robocode.StatusEvent
public final class StatusEvent
This event is sent to onStatus() every
turn in a battle to provide the status of the robot.
| Constructor Summary | |
|---|---|
StatusEvent(RobotStatus status)
This constructor is called internally from the game in order to create a new RobotStatus. |
|
| Method Summary | |
|---|---|
RobotStatus |
getStatus()
Returns the RobotStatus at the time defined by Robot.getTime(). |
| Methods inherited from class robocode.Event |
|---|
compareTo, getPriority, getTime, setPriority, setTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatusEvent(RobotStatus status)
RobotStatus.
status - the current states| Method Detail |
|---|
public RobotStatus getStatus()
RobotStatus at the time defined by Robot.getTime().
RobotStatus at the time defined by Robot.getTime().Event.getTime()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||