public class _AdvancedRobot extends Robot
AdvancedRobot
.
You should create a AdvancedRobot
instead.
Robot
,
JuniorRobot
,
AdvancedRobot
,
TeamRobot
,
RateControlRobot
out
Modifier and Type | Method and Description |
---|---|
void |
endTurn()
Deprecated.
Use
execute instead. |
double |
getGunHeadingDegrees()
Deprecated.
Use
getGunHeading() instead. |
double |
getHeadingDegrees()
Deprecated.
Use
getHeading() instead. |
int |
getMaxWaitCount()
Deprecated.
This method is no longer functional.
Use
AdvancedRobot.onSkippedTurn(SkippedTurnEvent) instead. |
double |
getRadarHeadingDegrees()
Deprecated.
Use
getRadarHeading() instead. |
int |
getWaitCount()
Deprecated.
This method is no longer functional.
Use
AdvancedRobot.onSkippedTurn(SkippedTurnEvent) instead. |
void |
setTurnGunLeftDegrees(double degrees)
Deprecated.
Use
setTurnGunLeft instead. |
void |
setTurnGunRightDegrees(double degrees)
Deprecated.
Use
setTurnGunRight instead. |
void |
setTurnLeftDegrees(double degrees)
Deprecated.
Use
setTurnLeft(double) instead. |
void |
setTurnRadarLeftDegrees(double degrees)
Deprecated.
Use
setTurnRadarLeft(double) instead. |
void |
setTurnRadarRightDegrees(double degrees)
Deprecated.
Use
setTurnRadarRight instead. |
void |
setTurnRightDegrees(double degrees)
Deprecated.
Use
setTurnRight(double) instead. |
void |
turnGunLeftDegrees(double degrees)
Deprecated.
Use
turnGunLeft instead. |
void |
turnGunRightDegrees(double degrees)
Deprecated.
Use
turnGunRight instead. |
void |
turnLeftDegrees(double degrees)
Deprecated.
Use
turnLeft(double) instead. |
void |
turnRadarLeftDegrees(double degrees)
Deprecated.
Use
turnRadarLeft instead. |
void |
turnRadarRightDegrees(double degrees)
Deprecated.
Use
turnRadarRight
instead. |
void |
turnRightDegrees(double degrees)
Deprecated.
Use
turnRight(double) instead. |
ahead, back, doNothing, fire, fireBullet, getBasicEventListener, getBattleFieldHeight, getBattleFieldWidth, getEnergy, getGraphics, getGunCoolingRate, getGunHeading, getGunHeat, getHeading, getHeight, getInteractiveEventListener, getName, getNumRounds, getNumSentries, getOthers, getPaintEventListener, getRadarHeading, getRobotRunnable, getRoundNum, getSentryBorderSize, getTime, getVelocity, getWidth, getX, getY, onBattleEnded, onBulletHit, onBulletHitBullet, onBulletMissed, onDeath, onHitByBullet, onHitRobot, onHitWall, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragged, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onMouseWheelMoved, onPaint, onRobotDeath, onRoundEnded, onScannedRobot, onStatus, onWin, resume, run, scan, setAdjustGunForRobotTurn, setAdjustRadarForGunTurn, setAdjustRadarForRobotTurn, setAllColors, setBodyColor, setBulletColor, setColors, setColors, setDebugProperty, setGunColor, setRadarColor, setScanColor, stop, stop, turnGunLeft, turnGunRight, turnLeft, turnRadarLeft, turnRadarRight, turnRight
getBattleNum, getGunCharge, getGunImageName, getLife, getNumBattles, getRadarImageName, getRobotImageName, setGunImageName, setInterruptible, setRadarImageName, setRobotImageName
finalize, setOut, setPeer, toString
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
setOut, setPeer
@Deprecated public void setTurnGunLeftDegrees(double degrees)
setTurnGunLeft
instead.degrees
- the amount of degrees to turn the robot's gun to the left.
If degrees
> 0 the robot's gun is set to turn left.
If degrees
< 0 the robot's gun is set to turn right.
If degrees
= 0 the robot's gun is set to stop turning.@Deprecated public void setTurnGunRightDegrees(double degrees)
setTurnGunRight
instead.degrees
- the amount of degrees to turn the robot's gun to the right.
If degrees
> 0 the robot's gun is set to turn right.
If degrees
< 0 the robot's gun is set to turn left.
If degrees
= 0 the robot's gun is set to stop turning.@Deprecated public void turnRadarRightDegrees(double degrees)
turnRadarRight
instead.degrees
- the amount of degrees to turn the robot's radar to the right.
If degrees
> 0 the robot's radar will turn right.
If degrees
< 0 the robot's radar will turn left.
If degrees
= 0 the robot's radar will not turn, but execute.@Deprecated public void setTurnRightDegrees(double degrees)
setTurnRight(double)
instead.degrees
- the amount of degrees to turn the robot's body to the right.
If degrees
> 0 the robot is set to turn right.
If degrees
< 0 the robot is set to turn left.
If degrees
= 0 the robot is set to stop turning.@Deprecated public void setTurnRadarLeftDegrees(double degrees)
setTurnRadarLeft(double)
instead.degrees
- the amount of degrees to turn the robot's radar to the left.
If degrees
> 0 the robot's radar is set to turn left.
If degrees
< 0 the robot's radar is set to turn right.
If degrees
= 0 the robot's radar is set to stop turning.@Deprecated public void setTurnLeftDegrees(double degrees)
setTurnLeft(double)
instead.degrees
- the amount of degrees to turn the robot's body to the left.
If degrees
> 0 the robot is set to turn left.
If degrees
< 0 the robot is set to turn right.
If degrees
= 0 the robot is set to stop turning.@Deprecated public double getHeadingDegrees()
getHeading()
instead.@Deprecated public void turnLeftDegrees(double degrees)
turnLeft(double)
instead.degrees
- the amount of degrees to turn the robot's body to the left.
If degrees
> 0 the robot will turn left.
If degrees
< 0 the robot will turn right.
If degrees
= 0 the robot will not turn, but execute.@Deprecated public void turnRightDegrees(double degrees)
turnRight(double)
instead.degrees
- the amount of degrees to turn the robot's body to the right.
If degrees
> 0 the robot will turn right.
If degrees
< 0 the robot will turn left.
If degrees
= 0 the robot will not turn, but execute.@Deprecated public void endTurn()
execute
instead.@Deprecated public double getGunHeadingDegrees()
getGunHeading()
instead.@Deprecated public double getRadarHeadingDegrees()
getRadarHeading()
instead.@Deprecated public int getWaitCount()
AdvancedRobot.onSkippedTurn(SkippedTurnEvent)
instead.0
as this method is no longer functional.@Deprecated public void setTurnRadarRightDegrees(double degrees)
setTurnRadarRight
instead.degrees
- the amount of degrees to turn the robot's radar to the right.
If degrees
> 0 the robot's radar is set to turn right.
If degrees
< 0 the robot's radar is set to turn left.
If degrees
= 0 the robot's radar is set to stop turning.@Deprecated public void turnGunLeftDegrees(double degrees)
turnGunLeft
instead.degrees
- the amount of degrees to turn the robot's gun to the left.
If degrees
> 0 the robot's gun will turn left.
If degrees
< 0 the robot's gun will turn right.
If degrees
= 0 the robot's gun will not turn, but execute.@Deprecated public void turnGunRightDegrees(double degrees)
turnGunRight
instead.degrees
- the amount of degrees to turn the robot's gun to the right.
If degrees
> 0 the robot's gun will turn right.
If degrees
< 0 the robot's gun will turn left.
If degrees
= 0 the robot's gun will not turn, but execute.@Deprecated public void turnRadarLeftDegrees(double degrees)
turnRadarLeft
instead.degrees
- the amount of degrees to turn the robot's radar to the left.
If degrees
> 0 the robot's radar will turn left.
If degrees
< 0 the robot's radar will turn right.
If degrees
= 0 the robot's radar will not turn, but execute.@Deprecated public int getMaxWaitCount()
AdvancedRobot.onSkippedTurn(SkippedTurnEvent)
instead.0
as this method is no longer functional.Copyright © 2021 Robocode. All Rights Reserved.