Package robocode.control
Class RobotSpecification
java.lang.Object
robocode.control.RobotSpecification
- All Implemented Interfaces:
Serializable
Defines the properties of a robot, which is returned from
RobocodeEngine.getLocalRepository()
.- Author:
- Mathew A. Nelson (original), Flemming N. Larsen (contributor)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the author of this robot or team.Returns the full class name of this robot or team.Returns the description provided by the author of this robot or team.Returns the JAR file containing this robot or team, ornull
if it does not come from a JAR file (could be class files instead).getName()
Returns the name of this robot or team.Returns the name and version of this robot or team.Returns the version of Robocode this robot or team was build with.Returns id of the team in current battle.Returns the version of this robot or team.Returns the link to the web page for this robot or team.
-
Method Details
-
getName
Returns the name of this robot or team.- Returns:
- the name of this robot or team.
- See Also:
-
getVersion
Returns the version of this robot or team.- Returns:
- the version of this robot or team.
- See Also:
-
getNameAndVersion
Returns the name and version of this robot or team.- Returns:
- the name and version of this robot or team.
- Since:
- 1.3
- See Also:
-
getClassName
Returns the full class name of this robot or team.- Returns:
- the full class name of this robot or team.
-
getJarFile
Returns the JAR file containing this robot or team, ornull
if it does not come from a JAR file (could be class files instead).- Returns:
- the JAR file containing this robot or team, or
null
if it does not come from a JAR file (could be class files instead).
-
getDescription
Returns the description provided by the author of this robot or team.- Returns:
- the description provided by the author of this robot or team.
-
getRobocodeVersion
Returns the version of Robocode this robot or team was build with.- Returns:
- the version of Robocode this robot or team was build with.
-
getWebpage
Returns the link to the web page for this robot or team.- Returns:
- the link to the web page for this robot or team.
-
getAuthorName
Returns the name of the author of this robot or team.- Returns:
- the name of the author of this robot or team.
-
getTeamId
Returns id of the team in current battle.- Returns:
- id of the team in current battle.
-