Class RobotSetup
java.lang.Object
robocode.control.RobotSetup
- All Implemented Interfaces:
Serializable
Contains the initial position and heading for a robot.
- Since:
- 1.9.2.0
- Author:
- Flemming N. Larsen (original)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RobotSetup
-
-
Method Details
-
getX
Returns the x coordinate.- Returns:
- the x coordinate, where
nullmeans unspecified (random).
-
getY
Returns the y coordinate.- Returns:
- the y coordinate, where
nullmeans unspecified (random).
-
getHeading
Returns the body, gun, and radar heading (in degrees).- Returns:
- the heading (in degrees), where
nullmeans unspecified (random).
-