public abstract class _Robot extends _RobotBase
Robot
.
You should create a Robot
instead.
Robot
,
JuniorRobot
,
AdvancedRobot
,
TeamRobot
,
RateControlRobot
out
Modifier and Type | Method and Description |
---|---|
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.
|
finalize, setOut, setPeer, toString
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBasicEventListener, getRobotRunnable
@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()
Copyright © 2021 Robocode. All Rights Reserved.