Package robocode.control.snapshot
Interface IScoreSnapshot
- All Superinterfaces:
Comparable<Object>
Interface of a score snapshot at a specific time in a battle.
- Since:
- 1.6.2
- Author:
- Pavel Savara (original), Flemming N. Larsen (contributor)
-
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the current bullet damage score.doubleReturns the current bullet kill bonus.doubleReturns the current ramming damage score.doubleReturns the current ramming kill bonus.doubleReturns the current score.doubleReturns the current survival bonus.doubleReturns the current survival score.getName()Returns the name of the contestant, i.e.doubleReturns the total bullet damage score.doubleReturns the total bullet kill bonus.intReturns the total number of first places.doubleReturns the total last survivor score.doubleReturns the total ramming damage score.doubleReturns the total ramming kill bonus.doubleReturns the total score.intReturns the total number of second places.doubleReturns the total survival score.intReturns the total number of third places.Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getName
String getName()Returns the name of the contestant, i.e. a robot or team.- Returns:
- the name of the contestant, i.e. a robot or team.
-
getTotalScore
double getTotalScore()Returns the total score.- Returns:
- the total score.
-
getTotalSurvivalScore
double getTotalSurvivalScore()Returns the total survival score.- Returns:
- the total survival score.
-
getTotalLastSurvivorBonus
double getTotalLastSurvivorBonus()Returns the total last survivor score.- Returns:
- the total last survivor score.
-
getTotalBulletDamageScore
double getTotalBulletDamageScore()Returns the total bullet damage score.- Returns:
- the total bullet damage score.
-
getTotalBulletKillBonus
double getTotalBulletKillBonus()Returns the total bullet kill bonus.- Returns:
- the total bullet kill bonus.
-
getTotalRammingDamageScore
double getTotalRammingDamageScore()Returns the total ramming damage score.- Returns:
- the total ramming damage score.
-
getTotalRammingKillBonus
double getTotalRammingKillBonus()Returns the total ramming kill bonus.- Returns:
- the total ramming kill bonus.
-
getTotalFirsts
int getTotalFirsts()Returns the total number of first places.- Returns:
- the total number of first places.
-
getTotalSeconds
int getTotalSeconds()Returns the total number of second places.- Returns:
- the total number of second places.
-
getTotalThirds
int getTotalThirds()Returns the total number of third places.- Returns:
- the total number of third places.
-
getCurrentScore
double getCurrentScore()Returns the current score.- Returns:
- the current score.
-
getCurrentSurvivalScore
double getCurrentSurvivalScore()Returns the current survival score.- Returns:
- the current survival score.
-
getCurrentSurvivalBonus
double getCurrentSurvivalBonus()Returns the current survival bonus.- Returns:
- the current survival bonus.
-
getCurrentBulletDamageScore
double getCurrentBulletDamageScore()Returns the current bullet damage score.- Returns:
- the current bullet damage score.
-
getCurrentBulletKillBonus
double getCurrentBulletKillBonus()Returns the current bullet kill bonus.- Returns:
- the current bullet kill bonus.
-
getCurrentRammingDamageScore
double getCurrentRammingDamageScore()Returns the current ramming damage score.- Returns:
- the current ramming damage score.
-
getCurrentRammingKillBonus
double getCurrentRammingKillBonus()Returns the current ramming kill bonus.- Returns:
- the current ramming kill bonus.
-