Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
robocode._RobotBase
robocode._Robot
public abstract class _Robot
extends _RobotBase
Robot
instead.
There is no guarantee that this class will exist in future versions of Robocode.
Robot
Field 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 theRobot
class.
- Parameters:
interruptible
-true
if the event handler should be interrupted if new events of the same priority occurs;false
otherwise
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