|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrobocode.control.RobotResults
public class RobotResults
Contains results for a robot when a battle completes.
This class is returned from RobocodeListener.battleComplete(robocode.control.BattleSpecification, robocode.control.RobotResults[])
Constructor Summary | |
---|---|
RobotResults(RobotSpecification robot,
int rank,
double score,
double survival,
double lastSurvivorBonus,
double bulletDamage,
double bulletDamageBonus,
double ramDamage,
double ramDamageBonus,
int firsts,
int seconds,
int thirds)
|
Method Summary | |
---|---|
int |
getBulletDamage()
Gets the bullet damage score of this robot. |
int |
getBulletDamageBonus()
Gets the bullet damage bonus of this robot. |
int |
getFirsts()
Gets the number of times this robot placed first. |
int |
getLastSurvivorBonus()
Gets the last survivor bonus of this robot. |
int |
getRamDamage()
Gets the ram damage score of this robot. |
double |
getRamDamageBonus()
Gets the ram damage bonus of this robot. |
int |
getRank()
Gets the rank of this robot in the results. |
RobotSpecification |
getRobot()
Gets the robot these results are for. |
int |
getScore()
Gets the total score of this robot. |
int |
getSeconds()
Gets the number of times this robot placed second. |
int |
getSurvival()
Gets the survival score of this robot. |
int |
getThirds()
Gets the number of times this robot placed third. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RobotResults(RobotSpecification robot, int rank, double score, double survival, double lastSurvivorBonus, double bulletDamage, double bulletDamageBonus, double ramDamage, double ramDamageBonus, int firsts, int seconds, int thirds)
Method Detail |
---|
public RobotSpecification getRobot()
public int getRank()
public int getScore()
public int getSurvival()
public int getLastSurvivorBonus()
public int getBulletDamage()
public int getBulletDamageBonus()
public int getRamDamage()
public double getRamDamageBonus()
public int getFirsts()
public int getSeconds()
public int getThirds()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |