Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
robocode._RobotBase
robocode._Robot
robocode.Robot
robocode._AdvancedRobot
public class _AdvancedRobot
extends Robot
AdvancedRobot
instead.
There is no guarantee that this class will exist in future versions of Robocode.
AdvancedRobot
Field Summary |
Fields inherited from class robocode._RobotBase | |
out |
Constructor Summary | |
Method Summary | |
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
Methods inherited from class robocode._Robot | |
String getGunImageName , String getRadarImageName , String getRobotImageName , double getGunCharge , double getLife , int getBattleNum , int getNumBattles , setInterruptible , void setGunImageName , void setRadarImageName , void setRobotImageName |
Methods inherited from class robocode._RobotBase | |
setOut , setPeer |
public @Deprecated double getGunHeadingDegrees()
Deprecated. Use
getGunHeading()
instead.
- Returns:
- the direction that the robot's gun is facing, in degrees.
public @Deprecated double getHeadingDegrees()
Deprecated. Use
getHeading()
instead.
- Returns:
- the direction that the robot's body is facing, in degrees.
public @Deprecated double getRadarHeadingDegrees()
Deprecated. Use
getRadarHeading()
instead.
- Returns:
- the direction that the robot's radar is facing, in degrees.
public @Deprecated int getMaxWaitCount()
Deprecated. This method is no longer functional. Use
AdvancedRobot.onSkippedTurn(SkippedTurnEvent)
instead.
- Returns:
- allways
0
as this method is no longer functional.
public @Deprecated int getWaitCount()
Deprecated. This method is no longer functional. Use
AdvancedRobot.onSkippedTurn(SkippedTurnEvent)
instead.
- Returns:
- allways
0
as this method is no longer functional.
public @Deprecated void setTurnGunLeftDegrees(double degrees)
Deprecated. Use
setTurnGunLeft
instead.
- Parameters:
degrees
- the amount of degrees to turn the robot's gun to the left. Ifdegrees
> 0 the robot's gun is set to turn left. Ifdegrees
<320 the robot's gun is set to turn right. Ifdegrees
= 0 the robot's gun is set to stop turning.
public @Deprecated void setTurnGunRightDegrees(double degrees)
Deprecated. Use
setTurnGunRight
instead.
- Parameters:
degrees
- the amount of degrees to turn the robot's gun to the right. Ifdegrees
> 0 the robot's gun is set to turn right. Ifdegrees
<320 the robot's gun is set to turn left. Ifdegrees
= 0 the robot's gun is set to stop turning.
public @Deprecated void setTurnLeftDegrees(double degrees)
Deprecated. Use
setTurnLeft(double)
instead.
- Parameters:
degrees
- the amount of degrees to turn the robot's body to the left. Ifdegrees
> 0 the robot is set to turn left. Ifdegrees
<320 the robot is set to turn right. Ifdegrees
= 0 the robot is set to stop turning.
public @Deprecated void setTurnRadarLeftDegrees(double degrees)
Deprecated. Use
setTurnRadarLeft(double)
instead.
- Parameters:
degrees
- the amount of degrees to turn the robot's radar to the left. Ifdegrees
> 0 the robot's radar is set to turn left. Ifdegrees
<320 the robot's radar is set to turn right. Ifdegrees
= 0 the robot's radar is set to stop turning.
public @Deprecated void setTurnRadarRightDegrees(double degrees)
Deprecated. Use
setTurnRadarRight
instead.
- Parameters:
degrees
- the amount of degrees to turn the robot's radar to the right. Ifdegrees
> 0 the robot's radar is set to turn right. Ifdegrees
<320 the robot's radar is set to turn left. Ifdegrees
= 0 the robot's radar is set to stop turning.
public @Deprecated void setTurnRightDegrees(double degrees)
Deprecated. Use
setTurnRight(double)
instead.
- Parameters:
degrees
- the amount of degrees to turn the robot's body to the right. Ifdegrees
> 0 the robot is set to turn right. Ifdegrees
<320 the robot is set to turn left. Ifdegrees
= 0 the robot is set to stop turning.
public @Deprecated void turnGunLeftDegrees(double degrees)
Deprecated. Use
turnGunLeft
instead.
- Parameters:
degrees
- the amount of degrees to turn the robot's gun to the left. Ifdegrees
> 0 the robot's gun will turn left. Ifdegrees
<320 the robot's gun will turn right. Ifdegrees
= 0 the robot's gun will not turn, but execute.
public @Deprecated void turnGunRightDegrees(double degrees)
Deprecated. Use
turnGunRight
instead.
- Parameters:
degrees
- the amount of degrees to turn the robot's gun to the right. Ifdegrees
> 0 the robot's gun will turn right. Ifdegrees
<320 the robot's gun will turn left. Ifdegrees
= 0 the robot's gun will not turn, but execute.
public @Deprecated void turnLeftDegrees(double degrees)
Deprecated. Use
turnLeft(double)
instead.
- Parameters:
degrees
- the amount of degrees to turn the robot's body to the left. Ifdegrees
> 0 the robot will turn left. Ifdegrees
<320 the robot will turn right. Ifdegrees
= 0 the robot will not turn, but execute.
public @Deprecated void turnRadarLeftDegrees(double degrees)
Deprecated. Use
turnRadarLeft
instead.
- Parameters:
degrees
- the amount of degrees to turn the robot's radar to the left. Ifdegrees
> 0 the robot's radar will turn left. Ifdegrees
<320 the robot's radar will turn right. Ifdegrees
= 0 the robot's radar will not turn, but execute.
public @Deprecated void turnRadarRightDegrees(double degrees)
Deprecated. Use
turnRadarRight
instead.
- Parameters:
degrees
- the amount of degrees to turn the robot's radar to the right. Ifdegrees
> 0 the robot's radar will turn right. Ifdegrees
<320 the robot's radar will turn left. Ifdegrees
= 0 the robot's radar will not turn, but execute.
public @Deprecated void turnRightDegrees(double degrees)
Deprecated. Use
turnRight(double)
instead.
- Parameters:
degrees
- the amount of degrees to turn the robot's body to the right. Ifdegrees
> 0 the robot will turn right. Ifdegrees
<320 the robot will turn left. Ifdegrees
= 0 the robot will not turn, but execute.