|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--robocode._Robot
This class is used by the system, as well as being a placeholder for all all deprecated (meaning, you should not use them) calls.
You should create a Robot
instead.
There is no guarantee that this class will exist in future versions of Robocode.
Robot
Method Summary | |
int |
getBattleNum()
Deprecated. use getRoundNum instead. |
double |
getGunCharge()
Deprecated. use getGunHeat() |
String |
getGunImageName()
Deprecated. This call is not used. |
double |
getLife()
Deprecated. Use getEnergy() |
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)
Deprecated. This call has moved to AdvancedRobot, and will no longer function in the Robot class. |
void |
setPeer(RobotPeer peer)
This method is called by the game. |
void |
setRadarImageName(String newRadarImageName)
Deprecated. This call is not used. |
void |
setRobotImageName(String newRobotImageName)
Deprecated. This call is not used. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public final void setPeer(RobotPeer peer)
public double getGunCharge()
public double getLife()
public int getNumBattles()
public int getBattleNum()
public void setInterruptible(boolean interruptible)
public String getGunImageName()
public void setGunImageName(String newGunImageName)
public void setRadarImageName(String newRadarImageName)
public void setRobotImageName(String newRobotImageName)
public String getRadarImageName()
public String getRobotImageName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |