| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectrobocode._RobotBaserobocode._Robotpublic abstract class _Robotextends _RobotBaseRobot instead.
There is no guarantee that this class will exist in future versions of Robocode.
RobotField Summary |
Fields inherited from class robocode._RobotBase | |
out | |
Constructor Summary | |
| |
Method Summary | |
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
void |
|
@Deprecated |
|
@Deprecated |
|
@Deprecated |
|
Methods inherited from class robocode._RobotBase | |
setOut, setPeer | |
public @Deprecated String getGunImageName()
Deprecated. This call is not used.
- Returns:
- the name of the gun image
public @Deprecated String getRadarImageName()
Deprecated. This call is not used.
- Returns:
- the name of the radar image
public @Deprecated String getRobotImageName()
Deprecated. This call is not used.
- Returns:
- the name of the robot image
public @Deprecated double getGunCharge()
Deprecated. Use
getGunHeat()instead.
- Returns:
- 5 -
getGunHeat().
public @Deprecated double getLife()
Deprecated. Use
getEnergy()instead.
- Returns:
- the robot's current life/energy.
public @Deprecated int getBattleNum()
Deprecated. Use
getRoundNum()instead.
- Returns:
- the current round number of the battle
public @Deprecated int getNumBattles()
Deprecated. Use
getNumRounds()instead.
- Returns:
- the number of rounds in the current battle
public void setInterruptible(boolean interruptible)
This call has moved toAdvancedRobot, and will no longer function in theRobotclass.
- Parameters:
interruptible-trueif the event handler should be interrupted if new events of the same priority occurs;falseotherwise
public @Deprecated void setGunImageName(String newGunImageName)
Deprecated. This call is not used.
- Parameters:
newGunImageName- the name of the new gun image
public @Deprecated void setRadarImageName(String newRadarImageName)
Deprecated. This call is not used.
- Parameters:
newRadarImageName- the name of the new radar image
public @Deprecated void setRobotImageName(String newRobotImageName)
Deprecated. This call is not used.
- Parameters:
newRobotImageName- the name of the new robot body image