|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrobocode._RobotBase
robocode._Robot
public abstract class _Robot
This class is used by the system, as well as being a placeholder for all deprecated
(meaning, you should not use them) calls for Robot.
Robot instead.
Robot,
JuniorRobot,
AdvancedRobot,
TeamRobot,
RateControlRobot| Field Summary |
|---|
| Fields inherited from class robocode._RobotBase |
|---|
out |
| Method Summary | |
|---|---|
int |
getBattleNum()
Deprecated. Use getRoundNum() instead. |
double |
getGunCharge()
Deprecated. Use getGunHeat() instead. |
String |
getGunImageName()
Deprecated. This call is not used. |
double |
getLife()
Deprecated. Use getEnergy() instead. |
int |
getNumBattles()
Deprecated. Use getNumRounds() instead. |
String |
getRadarImageName()
Deprecated. This call is not used. |
String |
getRobotImageName()
Deprecated. This call is not used. |
void |
setGunImageName(String newGunImageName)
Deprecated. This call is not used. |
void |
setInterruptible(boolean interruptible)
This call has moved to AdvancedRobot, and will no longer function in
the Robot class. |
void |
setRadarImageName(String newRadarImageName)
Deprecated. This call is not used. |
void |
setRobotImageName(String newRobotImageName)
Deprecated. This call is not used. |
| Methods inherited from class robocode._RobotBase |
|---|
finalize, setOut, setPeer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface robocode.robotinterfaces.IBasicRobot |
|---|
getBasicEventListener, getRobotRunnable |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Method Detail |
|---|
@Deprecated public double getGunCharge()
getGunHeat() instead.
getGunHeat().@Deprecated public double getLife()
getEnergy() instead.
@Deprecated public int getNumBattles()
getNumRounds() instead.
@Deprecated public int getBattleNum()
getRoundNum() instead.
public void setInterruptible(boolean interruptible)
AdvancedRobot, and will no longer function in
the Robot class.
interruptible - true if the event handler should be
interrupted if new events of the same priority occurs; false
otherwise@Deprecated public String getGunImageName()
@Deprecated public void setGunImageName(String newGunImageName)
newGunImageName - the name of the new gun image@Deprecated public void setRadarImageName(String newRadarImageName)
newRadarImageName - the name of the new radar image@Deprecated public void setRobotImageName(String newRobotImageName)
newRobotImageName - the name of the new robot body image@Deprecated public String getRadarImageName()
@Deprecated public String getRobotImageName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||