public interface IRobotSnapshot
| Modifier and Type | Method and Description |
|---|---|
int |
getBodyColor()
Returns the color of the body.
|
double |
getBodyHeading()
Returns the body heading in radians.
|
int |
getContestantIndex()
Returns the index of the contestant that will not be changed during a battle.
|
IDebugProperty[] |
getDebugProperties()
Returns a list of all debug properties.
|
double |
getEnergy()
Returns the energy level.
|
int |
getGunColor()
Returns the color of the gun.
|
double |
getGunHeading()
Returns the gun heading in radians.
|
double |
getGunHeat()
Returns the gun heat.
|
String |
getName()
Returns the name of the robot.
|
String |
getOutputStreamSnapshot()
Returns a snapshot of the output print stream for this robot.
|
int |
getRadarColor()
Returns the color of the radar.
|
double |
getRadarHeading()
Returns the radar heading in radians.
|
int |
getScanColor()
Returns the color of the scan arc.
|
IScoreSnapshot |
getScoreSnapshot()
Returns snapshot current score.
|
String |
getShortName()
Returns the very short name of the robot.
|
RobotState |
getState()
Returns the robot status.
|
String |
getTeamName()
Returns the name of the team, or name of the robot if the contestant is not a team.
|
double |
getVelocity()
Returns the velocity.
|
String |
getVeryShortName()
Returns the very short name of the robot.
|
double |
getX()
Returns the x coordinate of the robot.
|
double |
getY()
Returns the y coordinate of the robot.
|
boolean |
isDroid()
Returns a flag specifying if this robot is a
Droid. |
boolean |
isPaintEnabled()
Returns a flag specifying if robot's (onPaint) painting is enabled for the robot.
|
boolean |
isPaintRobot()
Returns a flag specifying if this robot is an
IPaintRobot
or is asking for getGraphics(). |
boolean |
isSGPaintEnabled()
Returns a flag specifying if RobocodeSG painting is enabled for the robot.
|
String getName()
String getShortName()
String getVeryShortName()
String getTeamName()
int getContestantIndex()
RobotState getState()
double getEnergy()
double getVelocity()
double getBodyHeading()
double getGunHeading()
double getRadarHeading()
double getGunHeat()
double getX()
double getY()
int getBodyColor()
Color.getRGB()int getGunColor()
Color.getRGB()int getRadarColor()
Color.getRGB()int getScanColor()
Color.getRGB()boolean isDroid()
Droid.true if this robot is a Droid; false otherwise.boolean isPaintRobot()
IPaintRobot
or is asking for getGraphics().true if this robot is a an IPaintRobot or is asking for getGraphics();
false otherwise.boolean isPaintEnabled()
true if the paintings for this robot is enabled;
false otherwise.boolean isSGPaintEnabled()
true if RobocodeSG painting is enabled for this robot;
false otherwise.IDebugProperty[] getDebugProperties()
String getOutputStreamSnapshot()
IScoreSnapshot getScoreSnapshot()