- getAdvancedEventListener() - Method in class robocode.AdvancedRobot
-
Do not call this method!
- getAdvancedEventListener() - Method in interface robocode.robotinterfaces.IAdvancedRobot
-
This method is called by the game to notify this robot about advanced
robot event.
- getAllEvents() - Method in class robocode.AdvancedRobot
-
Returns a vector containing all events currently in the robot's queue.
- getAllEvents() - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
Returns a vector containing all events currently in the robot's queue.
- getAuthorName() - Method in class robocode.control.RobotSpecification
-
Returns the name of the author of this robot or team.
- getBasicEventListener() - Method in class robocode.JuniorRobot
-
Do not call this method!
- getBasicEventListener() - Method in class robocode.Robot
-
This method is called by the game to notify this robot about basic
robot event.
- getBasicEventListener() - Method in interface robocode.robotinterfaces.IBasicRobot
-
This method is called by the game to notify this robot about basic
robot event.
- getBattlefield() - Method in class robocode.control.BattleSpecification
-
Returns the battlefield size for this battle.
- getBattlefieldHeight() - Method in class robocode.BattleRules
-
Returns the battlefield height.
- getBattleFieldHeight() - Method in class robocode.Robot
-
Returns the height of the current battlefield measured in pixels.
- getBattleFieldHeight() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns the height of the current battlefield measured in pixels.
- getBattlefieldWidth() - Method in class robocode.BattleRules
-
Returns the battlefield width.
- getBattleFieldWidth() - Method in class robocode.Robot
-
Returns the width of the current battlefield measured in pixels.
- getBattleFieldWidth() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns the width of the current battlefield measured in pixels.
- getBattleId() - Method in class robocode.control.events.BattleStartedEvent
-
Unique ID of the battle
- getBattleNum() - Method in class robocode._Robot
-
- getBattleRules() - Method in class robocode.control.events.BattleCompletedEvent
-
Returns the rules used in the battle.
- getBattleRules() - Method in class robocode.control.events.BattleStartedEvent
-
Returns the rules that will be used in the battle.
- getBearing() - Method in class robocode.HitByBulletEvent
-
Returns the bearing to the bullet, relative to your robot's heading,
in degrees (-180 < getBearing() <= 180).
- getBearing() - Method in class robocode.HitRobotEvent
-
Returns the bearing to the robot you hit, relative to your robot's
heading, in degrees (-180 <= getBearing() < 180)
- getBearing() - Method in class robocode.HitWallEvent
-
Returns the bearing to the wall you hit, relative to your robot's
heading, in degrees (-180 <= getBearing() < 180)
- getBearing() - Method in class robocode.ScannedRobotEvent
-
Returns the bearing to the robot you scanned, relative to your robot's
heading, in degrees (-180 <= getBearing() < 180)
- getBearingDegrees() - Method in class robocode.HitRobotEvent
-
- getBearingDegrees() - Method in class robocode.HitWallEvent
-
- getBearingRadians() - Method in class robocode.HitByBulletEvent
-
Returns the bearing to the bullet, relative to your robot's heading,
in radians (-Math.PI < getBearingRadians() <= Math.PI).
- getBearingRadians() - Method in class robocode.HitRobotEvent
-
Returns the bearing to the robot you hit, relative to your robot's
heading, in radians (-PI <= getBearingRadians() < PI)
- getBearingRadians() - Method in class robocode.HitWallEvent
-
Returns the bearing to the wall you hit, relative to your robot's
heading, in radians (-PI <= getBearingRadians() < PI)
- getBearingRadians() - Method in class robocode.ScannedRobotEvent
-
Returns the bearing to the robot you scanned, relative to your robot's
heading, in radians (-PI <= getBearingRadians() < PI)
- getBodyColor() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns the color of the body.
- getBodyHeading() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns the body heading of the robot in radians.
- getBodyHeading() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns the direction that the robot's body is facing, in radians.
- getBodyTurnRemaining() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns the angle remaining in the robot's turn, in radians.
- getBullet() - Method in class robocode.BulletHitBulletEvent
-
Returns your bullet that hit another bullet.
- getBullet() - Method in class robocode.BulletHitEvent
-
Returns the bullet of yours that hit the robot.
- getBullet() - Method in class robocode.BulletMissedEvent
-
Returns the bullet that missed.
- getBullet() - Method in class robocode.HitByBulletEvent
-
Returns the bullet that hit your robot.
- getBulletDamage() - Method in class robocode.BattleResults
-
Returns the bullet damage score of this robot in the battle.
- getBulletDamage(double) - Static method in class robocode.Rules
-
Returns the amount of damage of a bullet given a specific bullet power.
- getBulletDamageBonus() - Method in class robocode.BattleResults
-
Returns the bullet damage bonus of this robot in the battle.
- getBulletHitBonus(double) - Static method in class robocode.Rules
-
Returns the amount of bonus given when a robot's bullet hits an opponent
robot given a specific bullet power.
- getBulletHitBulletEvents() - Method in class robocode.AdvancedRobot
-
Returns a vector containing all BulletHitBulletEvents currently in the
robot's queue.
- getBulletHitBulletEvents() - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
Returns a vector containing all BulletHitBulletEvents currently in the
robot's queue.
- getBulletHitEvents() - Method in class robocode.AdvancedRobot
-
Returns a vector containing all BulletHitEvents currently in the robot's
queue.
- getBulletHitEvents() - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
Returns a vector containing all BulletHitEvents currently in the robot's
queue.
- getBulletId() - Method in interface robocode.control.snapshot.IBulletSnapshot
-
Returns the ID of the bullet used for identifying the bullet in a collection of bullets.
- getBulletMissedEvents() - Method in class robocode.AdvancedRobot
-
Returns a vector containing all BulletMissedEvents currently in the
robot's queue.
- getBulletMissedEvents() - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
Returns a vector containing all BulletMissedEvents currently in the
robot's queue.
- getBullets() - Method in interface robocode.control.snapshot.ITurnSnapshot
-
Returns a list of snapshots for the bullets that are currently on the battlefield.
- getBulletSpeed(double) - Static method in class robocode.Rules
-
Returns the speed of a bullet given a specific bullet power measured in pixels/turn.
- getCall() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
This call must be made from a robot call to inform the game
that the robot made a get*
call like e.g.
- getClassName() - Method in class robocode.control.RobotSpecification
-
Returns the full class name of this robot or team.
- getColor() - Method in interface robocode.control.snapshot.IBulletSnapshot
-
Returns the color of the bullet.
- getCondition() - Method in class robocode.CustomEvent
-
Returns the condition that fired, causing this event to be generated.
- getContestantIndex() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns the contestant index, which is unique for each robot or team participating in a battle.
- getCurrentBulletDamageScore() - Method in interface robocode.control.snapshot.IScoreSnapshot
-
Returns the current bullet damage score.
- getCurrentBulletKillBonus() - Method in interface robocode.control.snapshot.IScoreSnapshot
-
Returns the current bullet kill bonus.
- getCurrentRammingDamageScore() - Method in interface robocode.control.snapshot.IScoreSnapshot
-
Returns the current ramming damage score.
- getCurrentRammingKillBonus() - Method in interface robocode.control.snapshot.IScoreSnapshot
-
Returns the current ramming kill bonus.
- getCurrentScore() - Method in interface robocode.control.snapshot.IScoreSnapshot
-
Returns the current score.
- getCurrentSurvivalBonus() - Method in interface robocode.control.snapshot.IScoreSnapshot
-
Returns the current survival bonus.
- getCurrentSurvivalScore() - Method in interface robocode.control.snapshot.IScoreSnapshot
-
Returns the current survival score.
- getCurrentWorkingDir() - Static method in class robocode.control.RobocodeEngine
-
Returns the current working directory.
- getDataDirectory() - Method in class robocode.AdvancedRobot
-
- getDataDirectory() - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
- getDataFile(String) - Method in class robocode.AdvancedRobot
-
- getDataFile(String) - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
- getDataQuotaAvailable() - Method in class robocode.AdvancedRobot
-
Returns the data quota available in your data directory, i.e.
- getDataQuotaAvailable() - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
Returns the data quota available in your data directory, i.e.
- getDebugProperties() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns a snapshot of debug properties.
- getDescription() - Method in class robocode.control.RobotSpecification
-
Returns the description provided by the author of this robot or team.
- getDistance() - Method in class robocode.ScannedRobotEvent
-
Returns the distance to the robot (your center to his center).
- getDistanceRemaining() - Method in class robocode.AdvancedRobot
-
Returns the distance remaining in the robot's current move measured in
pixels.
- getDistanceRemaining() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns the distance remaining in the robot's current move measured in
pixels.
- getDistanceRemaining() - Method in class robocode.RobotStatus
-
Returns the distance remaining in the robot's current move measured in
pixels.
- getEnemyName() - Method in class robocode.control.RobotTestBed
-
Must return a fully qualified enemy robot name to be in this battle.
- getEnergy() - Method in class robocode.BulletHitEvent
-
Returns the remaining energy of the robot your bullet has hit (after the
damage done by your bullet).
- getEnergy() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns the energy level of the robot.
- getEnergy() - Method in class robocode.HitRobotEvent
-
Returns the amount of energy of the robot you hit.
- getEnergy() - Method in class robocode.Robot
-
Returns the robot's current energy.
- getEnergy() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns the robot's current energy.
- getEnergy() - Method in class robocode.RobotStatus
-
Returns the robot's current energy.
- getEnergy() - Method in class robocode.ScannedRobotEvent
-
Returns the energy of the robot.
- getError() - Method in class robocode.control.events.BattleErrorEvent
-
Returns the error message.
- getErrorInstance() - Method in class robocode.control.events.BattleErrorEvent
-
Returns the error instance when available.
- getEventPriority(String) - Method in class robocode.AdvancedRobot
-
Returns the current priority of a class of events.
- getEventPriority(String) - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
Returns the current priority of a class of events.
- getExpectedErrors() - Method in class robocode.control.RobotTestBed
-
- getExpectedRobotCount(String) - Method in class robocode.control.RobotTestBed
-
Provides the number of robots in this battle.
- getExplosionImageIndex() - Method in interface robocode.control.snapshot.IBulletSnapshot
-
Returns the explosion image index, which is different depending on the type of explosion.
- getFirsts() - Method in class robocode.BattleResults
-
Returns the number of rounds this robot placed first in the battle.
- getFrame() - Method in interface robocode.control.snapshot.IBulletSnapshot
-
Returns the current frame number to display, i.e.
- getGraphics() - Method in class robocode.Robot
-
Returns a graphics context used for painting graphical items for the robot.
- getGraphics() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns a graphics context used for painting graphical items for the robot.
- getGunCharge() - Method in class robocode._Robot
-
- getGunColor() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns the color of the gun.
- getGunCoolingRate() - Method in class robocode.BattleRules
-
Returns the rate at which the gun will cool down, i.e.
- getGunCoolingRate() - Method in class robocode.control.BattleSpecification
-
Returns the gun cooling rate of the robots in this battle.
- getGunCoolingRate() - Method in class robocode.Robot
-
Returns the rate at which the gun will cool down, i.e.
- getGunCoolingRate() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns the rate at which the gun will cool down, i.e.
- getGunHeading() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns the gun heading of the robot in radians.
- getGunHeading() - Method in class robocode.Robot
-
Returns the direction that the robot's gun is facing, in degrees.
- getGunHeading() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns the direction that the robot's gun is facing, in radians.
- getGunHeading() - Method in class robocode.RobotStatus
-
Returns the direction that the robot's gun is facing, in degrees.
- getGunHeadingDegrees() - Method in class robocode._AdvancedRobot
-
- getGunHeadingRadians() - Method in class robocode._AdvancedRadiansRobot
-
- getGunHeadingRadians() - Method in class robocode.AdvancedRobot
-
Returns the direction that the robot's gun is facing, in radians.
- getGunHeadingRadians() - Method in class robocode.RobotStatus
-
Returns the direction that the robot's gun is facing, in radians.
- getGunHeat() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns the gun heat of the robot.
- getGunHeat() - Method in class robocode.Robot
-
Returns the current heat of the gun.
- getGunHeat() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns the current heat of the gun.
- getGunHeat() - Method in class robocode.RobotStatus
-
Returns the current heat of the gun.
- getGunHeat(double) - Static method in class robocode.Rules
-
Returns the heat produced by firing the gun given a specific bullet
power.
- getGunImageName() - Method in class robocode._Robot
-
- getGunRotationRate() - Method in class robocode.RateControlRobot
-
Gets the gun's clockwise rotation per turn, in degrees.
- getGunRotationRateRadians() - Method in class robocode.RateControlRobot
-
Gets the gun's clockwise rotation per turn, in radians.
- getGunTurnRemaining() - Method in class robocode.AdvancedRobot
-
Returns the angle remaining in the gun's turn, in degrees.
- getGunTurnRemaining() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns the angle remaining in the gun's turn, in radians.
- getGunTurnRemaining() - Method in class robocode.RobotStatus
-
Returns the angle remaining in the gun's turn, in degrees.
- getGunTurnRemainingRadians() - Method in class robocode._AdvancedRadiansRobot
-
- getGunTurnRemainingRadians() - Method in class robocode.AdvancedRobot
-
Returns the angle remaining in the gun's turn, in radians.
- getGunTurnRemainingRadians() - Method in class robocode.RobotStatus
-
Returns the angle remaining in the gun's turn, in radians.
- getHeading() - Method in class robocode.Bullet
-
Returns the direction the bullet is/was heading, in degrees
(0 <= getHeading() < 360).
- getHeading() - Method in class robocode.control.RobotSetup
-
Returns the body, gun, and radar heading (in degrees).
- getHeading() - Method in interface robocode.control.snapshot.IBulletSnapshot
-
- getHeading() - Method in class robocode.HitByBulletEvent
-
Returns the heading of the bullet when it hit you, in degrees
(0 <= getHeading() < 360).
- getHeading() - Method in class robocode.Robot
-
Returns the direction that the robot's body is facing, in degrees.
- getHeading() - Method in class robocode.RobotStatus
-
Returns the direction that the robot's body is facing, in degrees.
- getHeading() - Method in class robocode.ScannedRobotEvent
-
Returns the heading of the robot, in degrees (0 <= getHeading() < 360)
- getHeadingDegrees() - Method in class robocode._AdvancedRobot
-
- getHeadingDegrees() - Method in class robocode.HitByBulletEvent
-
- getHeadingRadians() - Method in class robocode._AdvancedRadiansRobot
-
- getHeadingRadians() - Method in class robocode.AdvancedRobot
-
Returns the direction that the robot's body is facing, in radians.
- getHeadingRadians() - Method in class robocode.Bullet
-
Returns the direction the bullet is/was heading, in radians
(0 <= getHeadingRadians() < 2 * Math.PI).
- getHeadingRadians() - Method in class robocode.HitByBulletEvent
-
Returns the heading of the bullet when it hit you, in radians
(0 <= getHeadingRadians() < 2 * PI).
- getHeadingRadians() - Method in class robocode.RobotStatus
-
Returns the direction that the robot's body is facing, in radians.
- getHeadingRadians() - Method in class robocode.ScannedRobotEvent
-
Returns the heading of the robot, in radians (0 <= getHeading() < 2 * PI)
- getHeight() - Method in class robocode.control.BattlefieldSpecification
-
Returns the height of this battlefield.
- getHeight() - Method in class robocode.Robot
-
Returns the height of the robot measured in pixels.
- getHideEnemyNames() - Method in class robocode.BattleRules
-
- getHideEnemyNames() - Method in class robocode.control.BattleSpecification
-
Returns the flag specifying if the enemy names must be hidden from events sent to robots.
- getHitBullet() - Method in class robocode.BulletHitBulletEvent
-
Returns the bullet that was hit by your bullet.
- getHitByBulletEvents() - Method in class robocode.AdvancedRobot
-
Returns a vector containing all HitByBulletEvents currently in the
robot's queue.
- getHitByBulletEvents() - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
Returns a vector containing all HitByBulletEvents currently in the
robot's queue.
- getHitRobotEvents() - Method in class robocode.AdvancedRobot
-
Returns a vector containing all HitRobotEvents currently in the robot's
queue.
- getHitRobotEvents() - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
Returns a vector containing all HitRobotEvents currently in the robot's
queue.
- getHitWallEvents() - Method in class robocode.AdvancedRobot
-
Returns a vector containing all HitWallEvents currently in the robot's
queue.
- getHitWallEvents() - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
Returns a vector containing all HitWallEvents currently in the robot's
queue.
- getInactivityTime() - Method in class robocode.BattleRules
-
Returns the allowed inactivity time, where the robot is not taking any action, before will begin to be zapped.
- getInactivityTime() - Method in class robocode.control.BattleSpecification
-
Returns the allowed inactivity time for the robots in this battle.
- getIndexedResults() - Method in class robocode.control.events.BattleCompletedEvent
-
Returns the battle results that can be used to determine the score for the individual robot based
on the robot index.
- getIndexedTeamScores() - Method in interface robocode.control.snapshot.ITurnSnapshot
-
Returns an array of indexed scores grouped by teams that can be used to determine the score
for the individual team based on the team index.
- getInitialPositions() - Method in class robocode.control.RobotTestBed
-
Returns a comma or space separated list like: x1,y1,heading1, x2,y2,heading2, which are the
coordinates and heading of robot #1 and #2.
- getInitialSetups() - Method in class robocode.control.BattleSpecification
-
Returns the initial position and heading of each robot participating in this battle.
- getInteractiveEventListener() - Method in class robocode.Robot
-
This method is called by the game to notify this robot about interactive
events, i.e.
- getInteractiveEventListener() - Method in interface robocode.robotinterfaces.IInteractiveRobot
-
This method is called by the game to notify this robot about interactive
events, i.e.
- getJarFile() - Method in class robocode.control.RobotSpecification
-
Returns the JAR file containing this robot or team, or null
if it
does not come from a JAR file (could be class files instead).
- getKey() - Method in interface robocode.control.snapshot.IDebugProperty
-
Returns the key of the property.
- getLastSurvivorBonus() - Method in class robocode.BattleResults
-
Returns the last survivor score of this robot in the battle.
- getLife() - Method in class robocode._Robot
-
- getLife() - Method in class robocode.BulletHitEvent
-
- getLife() - Method in class robocode.ScannedRobotEvent
-
- getLocalRepository() - Method in interface robocode.control.IRobocodeEngine
-
Returns all robots available from the local robot repository of Robocode.
- getLocalRepository(String) - Method in interface robocode.control.IRobocodeEngine
-
Returns a selection of robots available from the local robot repository
of Robocode.
- getLocalRepository() - Method in class robocode.control.RobocodeEngine
-
Returns all robots available from the local robot repository of Robocode.
- getLocalRepository(String) - Method in class robocode.control.RobocodeEngine
-
Returns a selection of robots available from the local robot repository
of Robocode.
- getMaxWaitCount() - Method in class robocode._AdvancedRobot
-
- getMessage() - Method in class robocode.control.events.BattleMessageEvent
-
Returns the informal message.
- getMessage() - Method in class robocode.MessageEvent
-
Returns the message itself.
- getMessageEvents() - Method in interface robocode.robotinterfaces.peer.ITeamRobotPeer
-
Returns a vector containing all MessageEvents currently in the robot's
queue.
- getMessageEvents() - Method in class robocode.TeamRobot
-
Returns a vector containing all MessageEvents currently in the robot's
queue.
- getName() - Method in class robocode.Bullet
-
Returns the name of the robot that fired this bullet.
- getName() - Method in class robocode.BulletHitEvent
-
Returns the name of the robot your bullet hit.
- getName() - Method in class robocode.Condition
-
Returns the name of this condition.
- getName() - Method in class robocode.control.RobotSpecification
-
Returns the name of this robot or team.
- getName() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns the name of the robot.
- getName() - Method in interface robocode.control.snapshot.IScoreSnapshot
-
Returns the name of the contestant, i.e.
- getName() - Method in class robocode.HitByBulletEvent
-
Returns the name of the robot that fired the bullet.
- getName() - Method in class robocode.HitRobotEvent
-
Returns the name of the robot you hit.
- getName() - Method in class robocode.RobocodeFileOutputStream
-
Returns the filename of this output stream.
- getName() - Method in class robocode.Robot
-
Returns the robot's name.
- getName() - Method in class robocode.RobotDeathEvent
-
Returns the name of the robot that died.
- getName() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns the robot's name.
- getName() - Method in class robocode.ScannedRobotEvent
-
Returns the name of the robot.
- getNameAndVersion() - Method in class robocode.control.RobotSpecification
-
Returns the name and version of this robot or team.
- getNumBattles() - Method in class robocode._Robot
-
- getNumRounds() - Method in class robocode.BattleRules
-
Returns the number of rounds.
- getNumRounds() - Method in class robocode.control.BattleSpecification
-
Returns the number of rounds in this battle.
- getNumRounds() - Method in class robocode.control.RobotTestBed
-
Provides the number of rounds in this battle.
- getNumRounds() - Method in class robocode.Robot
-
Returns the number of rounds in the current battle.
- getNumRounds() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns the number of rounds in the current battle.
- getNumRounds() - Method in class robocode.RobotStatus
-
Returns the number of rounds in the current battle.
- getNumSentries() - Method in class robocode.Robot
-
Returns how many sentry robots that are left in the current round.
- getNumSentries() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns how many sentry robots that are left in the current round.
- getNumSentries() - Method in class robocode.RobotStatus
-
Returns how many sentry robots that are left in the current round.
- getOthers() - Method in class robocode.Robot
-
Returns how many opponents that are left in the current round.
- getOthers() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns how many opponents that are left in the current round.
- getOthers() - Method in class robocode.RobotStatus
-
Returns how many opponents that are left in the current round.
- getOutputStreamSnapshot() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns a snapshot of the output print stream for this robot.
- getOwnerIndex() - Method in interface robocode.control.snapshot.IBulletSnapshot
-
- getPaintEventListener() - Method in class robocode.Robot
-
This method is called by the game to notify this robot about painting
events.
- getPaintEventListener() - Method in interface robocode.robotinterfaces.IPaintRobot
-
This method is called by the game to notify this robot about painting
events.
- getPaintX() - Method in interface robocode.control.snapshot.IBulletSnapshot
-
Returns the X painting position of the bullet.
- getPaintY() - Method in interface robocode.control.snapshot.IBulletSnapshot
-
Returns the Y painting position of the bullet.
- getPower() - Method in class robocode.Bullet
-
Returns the power of this bullet.
- getPower() - Method in interface robocode.control.snapshot.IBulletSnapshot
-
Returns the bullet power.
- getPower() - Method in class robocode.HitByBulletEvent
-
Returns the power of this bullet.
- getPriority() - Method in class robocode.BattleEndedEvent
-
Returns the priority of this event.
- getPriority() - Method in class robocode.Condition
-
Returns the priority of this condition.
- getPriority() - Method in class robocode.CustomEvent
-
Returns the priority of this event.
- getPriority() - Method in class robocode.DeathEvent
-
Returns the priority of this event.
- getPriority() - Method in class robocode.Event
-
Returns the priority of this event.
- getPriority() - Method in class robocode.RoundEndedEvent
-
Returns the priority of this event.
- getPriority() - Method in class robocode.SkippedTurnEvent
-
Returns the priority of this event.
- getPriority() - Method in class robocode.WinEvent
-
Returns the priority of this event.
- getRadarColor() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns the color of the radar.
- getRadarHeading() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns the radar heading of the robot in radians.
- getRadarHeading() - Method in class robocode.Robot
-
Returns the direction that the robot's radar is facing, in degrees.
- getRadarHeading() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns the direction that the robot's radar is facing, in radians.
- getRadarHeading() - Method in class robocode.RobotStatus
-
Returns the direction that the robot's radar is facing, in degrees.
- getRadarHeadingDegrees() - Method in class robocode._AdvancedRobot
-
- getRadarHeadingRadians() - Method in class robocode._AdvancedRadiansRobot
-
- getRadarHeadingRadians() - Method in class robocode.AdvancedRobot
-
Returns the direction that the robot's radar is facing, in radians.
- getRadarHeadingRadians() - Method in class robocode.RobotStatus
-
Returns the direction that the robot's radar is facing, in radians.
- getRadarImageName() - Method in class robocode._Robot
-
- getRadarRotationRate() - Method in class robocode.RateControlRobot
-
Gets the radar's clockwise rotation per turn, in degrees.
- getRadarRotationRateRadians() - Method in class robocode.RateControlRobot
-
Gets the radar's clockwise rotation per turn, in radians.
- getRadarTurnRemaining() - Method in class robocode.AdvancedRobot
-
Returns the angle remaining in the radar's turn, in degrees.
- getRadarTurnRemaining() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns the angle remaining in the radar's turn, in radians.
- getRadarTurnRemaining() - Method in class robocode.RobotStatus
-
Returns the angle remaining in the radar's turn, in degrees.
- getRadarTurnRemainingRadians() - Method in class robocode._AdvancedRadiansRobot
-
- getRadarTurnRemainingRadians() - Method in class robocode.AdvancedRobot
-
Returns the angle remaining in the radar's turn, in radians.
- getRadarTurnRemainingRadians() - Method in class robocode.RobotStatus
-
Returns the angle remaining in the radar's turn, in radians.
- getRamDamage() - Method in class robocode.BattleResults
-
Returns the ram damage score of this robot in the battle.
- getRamDamageBonus() - Method in class robocode.BattleResults
-
Returns the ram damage bonus of this robot in the battle.
- getRandom() - Static method in class robocode.control.RandomFactory
-
Returns the random number generator used for generating a stream of random
numbers.
- getRandom() - Static method in class robocode.util.Utils
-
Returns random number generator.
- getRank() - Method in class robocode.BattleResults
-
Returns the rank of this robot in the battle results.
- getResults() - Method in class robocode.BattleEndedEvent
-
Returns the battle results.
- getRobocodeVersion() - Method in class robocode.control.RobotSpecification
-
Returns the version of Robocode this robot or team was build with.
- getRobot() - Method in class robocode.control.RobotResults
-
Returns the robot these results are meant for.
- getRobotBearing() - Method in class robocode.ScannedRobotEvent
-
- getRobotBearingDegrees() - Method in class robocode.ScannedRobotEvent
-
- getRobotBearingRadians() - Method in class robocode.ScannedRobotEvent
-
- getRobotDeathEvents() - Method in class robocode.AdvancedRobot
-
Returns a vector containing all RobotDeathEvents currently in the robot's
queue.
- getRobotDeathEvents() - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
Returns a vector containing all RobotDeathEvents currently in the robot's
queue.
- getRobotDistance() - Method in class robocode.ScannedRobotEvent
-
- getRobotHeading() - Method in class robocode.ScannedRobotEvent
-
- getRobotHeadingDegrees() - Method in class robocode.ScannedRobotEvent
-
- getRobotHeadingRadians() - Method in class robocode.ScannedRobotEvent
-
- getRobotImageName() - Method in class robocode._Robot
-
- getRobotIndex() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns the index of the robot, which is unique for the specific robot and constant during a battle.
- getRobotLife() - Method in class robocode.BulletHitEvent
-
- getRobotLife() - Method in class robocode.ScannedRobotEvent
-
- getRobotName() - Method in class robocode.BulletHitEvent
-
- getRobotName() - Method in class robocode.control.RobotTestBed
-
Must return a fully qualified robot name to be in this battle.
- getRobotName() - Method in class robocode.HitRobotEvent
-
- getRobotName() - Method in class robocode.RobotDeathEvent
-
- getRobotName() - Method in class robocode.ScannedRobotEvent
-
- getRobotObjects() - Method in class robocode.control.events.RoundStartedEvent
-
- getRobotRunnable() - Method in class robocode.JuniorRobot
-
Do not call this method!
- getRobotRunnable() - Method in class robocode.Robot
-
This method is called by the game to invoke the
run()
method of your robot, where the program
of your robot is implemented.
- getRobotRunnable() - Method in interface robocode.robotinterfaces.IBasicRobot
-
This method is called by the game to invoke the
run()
method of your robot, where the program
of your robot is implemented.
- getRobots() - Method in class robocode.control.BattleSpecification
-
Returns the specifications of the robots participating in this battle.
- getRobots() - Method in interface robocode.control.snapshot.ITurnSnapshot
-
Returns a list of snapshots for the robots participating in the battle.
- getRobotsCount() - Method in class robocode.control.events.BattleStartedEvent
-
Returns the number of robots participating in the battle.
- getRobotsDir() - Static method in class robocode.control.RobocodeEngine
-
Returns the directory containing the robots.
- getRobotVelocity() - Method in class robocode.ScannedRobotEvent
-
- getRound() - Method in class robocode.control.events.RoundEndedEvent
-
Returns the round number that has ended.
- getRound() - Method in class robocode.control.events.RoundStartedEvent
-
Returns the round number.
- getRound() - Method in interface robocode.control.snapshot.ITurnSnapshot
-
Returns the current round of the battle.
- getRound() - Method in class robocode.RoundEndedEvent
-
Returns the round that ended (zero-indexed).
- getRoundNum() - Method in class robocode.Robot
-
- getRoundNum() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
- getRoundNum() - Method in class robocode.RobotStatus
-
- getScanColor() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns the color of the scan arc.
- getScannedRobotEvents() - Method in class robocode.AdvancedRobot
-
Returns a vector containing all ScannedRobotEvents currently in the
robot's queue.
- getScannedRobotEvents() - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
Returns a vector containing all ScannedRobotEvents currently in the
robot's queue.
- getScore() - Method in class robocode.BattleResults
-
Returns the total score of this robot in the battle.
- getScoreSnapshot() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns a snapshot of the current score for this robot.
- getSeconds() - Method in class robocode.BattleResults
-
Returns the number of rounds this robot placed second in the battle.
- getSender() - Method in class robocode.MessageEvent
-
Returns the name of the sending robot.
- getSentryBorderSize() - Method in class robocode.BattleRules
-
Returns the sentry border size for a
BorderSentry
that defines the how
far a BorderSentry is allowed to move from the border edges measured in units.
Hence, the sentry border size defines the width/range of the border area surrounding the battlefield that
BorderSentrys cannot leave (sentry robots robots must stay in the border area), but it also define the
distance from the border edges where BorderSentrys are allowed/able to make damage to robots entering this
border area.
- getSentryBorderSize() - Method in class robocode.control.BattleSpecification
-
Returns the sentry border size for a
BorderSentry
that defines the how
far a BorderSentry is allowed to move from the border edges measured in units.
Hence, the sentry border size defines the width/range of the border area surrounding the battlefield that
border sentry robots cannot leave (they must stay in the border area), but it also define the
distance from the border edges where border sentry robots are allowed/able to make damage to robots entering this
border area.
- getSentryBorderSize() - Method in class robocode.Robot
-
Returns the sentry border size for a
BorderSentry
that defines the how
far a BorderSentry is allowed to move from the border edges measured in units.
Hence, the sentry border size defines the width/range of the border area surrounding the battlefield that
BorderSentrys cannot leave (sentry robots robots must stay in the border area), but it also define the
distance from the border edges where BorderSentrys are allowed/able to make damage to robots entering this
border area.
- getSentryBorderSize() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns the sentry border size for a
BorderSentry
that defines the how
far a BorderSentry is allowed to move from the border edges measured in units.
Hence, the sentry border size defines the width/range of the border area surrounding the battlefield that
BorderSentrys cannot leave (sentry robots robots must stay in the border area), but it also define the
distance from the border edges where BorderSentrys are allowed/able to make damage to robots entering this
border area.
- getShortName() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns the short name of the robot.
- getSkippedTurn() - Method in class robocode.SkippedTurnEvent
-
Returns the turn that was skipped.
- getSortedResults() - Method in class robocode.control.events.BattleCompletedEvent
-
Returns the battle results sorted on score.
- getSortedTeamScores() - Method in interface robocode.control.snapshot.ITurnSnapshot
-
Returns an array of sorted scores grouped by teams, ordered by position.
- getSourceEvent() - Method in class robocode.KeyEvent
-
Do not call this method!
- getSourceEvent() - Method in class robocode.MouseEvent
-
Do not call this method!
- getStartSnapshot() - Method in class robocode.control.events.RoundStartedEvent
-
Returns the start snapshot of the participating robots, initial starting positions etc.
- getState() - Method in interface robocode.control.snapshot.IBulletSnapshot
-
Returns the bullet state.
- getState() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns the robot state.
- getStatus() - Method in class robocode.StatusEvent
-
- getStatusEvents() - Method in class robocode.AdvancedRobot
-
Returns a vector containing all StatusEvents currently in the robot's
queue.
- getStatusEvents() - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
Returns a vector containing all StatusEvents currently in the robot's
queue.
- getSurvival() - Method in class robocode.BattleResults
-
Returns the survival score of this robot in the battle.
- getTeamEventListener() - Method in interface robocode.robotinterfaces.ITeamRobot
-
This method is called by the game to notify this robot about team events.
- getTeamEventListener() - Method in class robocode.TeamRobot
-
Do not call this method!
- getTeamId() - Method in class robocode.control.RobotSpecification
-
Returns id of the team in current battle.
- getTeamIndex() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns the index of the team that this robot is a member of, which is unique for the specific team and constant
during a battle.
- getTeamLeaderName() - Method in class robocode.BattleResults
-
Returns the name of the team leader in the team or the name of the
robot if the robot is not participating in a team.
- getTeammates() - Method in interface robocode.robotinterfaces.peer.ITeamRobotPeer
-
Returns the names of all teammates, or null
there is no
teammates.
- getTeammates() - Method in class robocode.TeamRobot
-
Returns the names of all teammates, or null
there is no
teammates.
- getTeamName() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns the name of the team, which can be the name of a robot if the contestant is not a team, but a robot.
- getThirds() - Method in class robocode.BattleResults
-
Returns the number of rounds this robot placed third in the battle.
- getTime() - Method in class robocode.Event
-
Returns the time when this event occurred.
- getTime() - Method in class robocode.Robot
-
Returns the game time of the current round, where the time is equal to
the current turn in the round.
- getTime() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns the game time of the current round, where the time is equal to
the current turn in the round.
- getTime() - Method in class robocode.RobotStatus
-
Returns the game time of the round, where the time is equal to the current turn in the round.
- getTotalBulletDamageScore() - Method in interface robocode.control.snapshot.IScoreSnapshot
-
Returns the total bullet damage score.
- getTotalBulletKillBonus() - Method in interface robocode.control.snapshot.IScoreSnapshot
-
Returns the total bullet kill bonus.
- getTotalFirsts() - Method in interface robocode.control.snapshot.IScoreSnapshot
-
Returns the total number of first places.
- getTotalLastSurvivorBonus() - Method in interface robocode.control.snapshot.IScoreSnapshot
-
Returns the total last survivor score.
- getTotalRammingDamageScore() - Method in interface robocode.control.snapshot.IScoreSnapshot
-
Returns the total ramming damage score.
- getTotalRammingKillBonus() - Method in interface robocode.control.snapshot.IScoreSnapshot
-
Returns the total ramming kill bonus.
- getTotalScore() - Method in interface robocode.control.snapshot.IScoreSnapshot
-
Returns the total score.
- getTotalSeconds() - Method in interface robocode.control.snapshot.IScoreSnapshot
-
Returns the total number of second places.
- getTotalSurvivalScore() - Method in interface robocode.control.snapshot.IScoreSnapshot
-
Returns the total survival score.
- getTotalThirds() - Method in interface robocode.control.snapshot.IScoreSnapshot
-
Returns the total number of third places.
- getTotalTurns() - Method in class robocode.control.events.RoundEndedEvent
-
Returns the total number of turns reached in the battle when this round ended.
- getTotalTurns() - Method in class robocode.RoundEndedEvent
-
Returns the total number of turns reached in the battle when this round ended.
- getTPS() - Method in interface robocode.control.snapshot.ITurnSnapshot
-
Returns the current TPS (turns per second) rate.
- getTurn() - Method in interface robocode.control.snapshot.ITurnSnapshot
-
Returns the current turn in the battle round.
- getTurnRate() - Method in class robocode.RateControlRobot
-
Gets the robot's clockwise rotation per turn, in degrees.
- getTurnRate(double) - Static method in class robocode.Rules
-
Returns the turn rate of a robot given a specific velocity measured in
degrees/turn.
- getTurnRateRadians() - Method in class robocode.RateControlRobot
-
Gets the robot's clockwise rotation per turn, in radians.
- getTurnRateRadians(double) - Static method in class robocode.Rules
-
Returns the turn rate of a robot given a specific velocity measured in
radians/turn.
- getTurnRemaining() - Method in class robocode.AdvancedRobot
-
Returns the angle remaining in the robots's turn, in degrees.
- getTurnRemaining() - Method in class robocode.RobotStatus
-
Returns the angle remaining in the robots's turn, in degrees.
- getTurnRemainingRadians() - Method in class robocode._AdvancedRadiansRobot
-
- getTurnRemainingRadians() - Method in class robocode.AdvancedRobot
-
Returns the angle remaining in the robot's turn, in radians.
- getTurnRemainingRadians() - Method in class robocode.RobotStatus
-
Returns the angle remaining in the robots's turn, in radians.
- getTurns() - Method in class robocode.control.events.RoundEndedEvent
-
Returns the number of turns that this round reached.
- getTurns() - Method in class robocode.RoundEndedEvent
-
Returns the number of turns that this round reached.
- getTurnSnapshot() - Method in class robocode.control.events.TurnEndedEvent
-
Returns a snapshot of the turn that has ended.
- getValue() - Method in enum robocode.control.snapshot.BulletState
-
Returns the state as an integer value.
- getValue() - Method in interface robocode.control.snapshot.IDebugProperty
-
Returns the value of the property.
- getValue() - Method in enum robocode.control.snapshot.RobotState
-
Returns the state as an integer value.
- getVelocity() - Method in class robocode.Bullet
-
Returns the velocity of this bullet.
- getVelocity() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns the velocity of the robot.
- getVelocity() - Method in class robocode.HitByBulletEvent
-
Returns the velocity of this bullet.
- getVelocity() - Method in class robocode.Robot
-
Returns the velocity of the robot measured in pixels/turn.
- getVelocity() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns the velocity of the robot measured in pixels/turn.
- getVelocity() - Method in class robocode.RobotStatus
-
Returns the velocity of the robot measured in pixels/turn.
- getVelocity() - Method in class robocode.ScannedRobotEvent
-
Returns the velocity of the robot.
- getVelocityRate() - Method in class robocode.RateControlRobot
-
Returns the speed the robot will move, in pixels per turn.
- getVersion() - Method in interface robocode.control.IRobocodeEngine
-
Returns the installed version of Robocode controlled by this RobocodeEngine.
- getVersion() - Method in class robocode.control.RobocodeEngine
-
Returns the installed version of Robocode controlled by this RobocodeEngine.
- getVersion() - Method in class robocode.control.RobotSpecification
-
Returns the version of this robot or team.
- getVeryShortName() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns the very short name of the robot.
- getVictim() - Method in class robocode.Bullet
-
Returns the name of the robot that this bullet hit, or null
if
the bullet has not hit a robot.
- getVictimIndex() - Method in interface robocode.control.snapshot.IBulletSnapshot
-
- getWaitCount() - Method in class robocode._AdvancedRobot
-
- getWallHitDamage(double) - Static method in class robocode.Rules
-
Returns the amount of damage taken when robot hits a wall with a
specific velocity.
- getWebpage() - Method in class robocode.control.RobotSpecification
-
Returns the link to the web page for this robot or team.
- getWidth() - Method in class robocode.control.BattlefieldSpecification
-
Returns the width of this battlefield.
- getWidth() - Method in class robocode.Robot
-
Returns the width of the robot measured in pixels.
- getX() - Method in class robocode.Bullet
-
Returns the X position of the bullet.
- getX() - Method in class robocode.control.RobotSetup
-
Returns the x coordinate.
- getX() - Method in interface robocode.control.snapshot.IBulletSnapshot
-
Returns the X position of the bullet.
- getX() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns the X position of the robot.
- getX() - Method in class robocode.Robot
-
Returns the X position of the robot.
- getX() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns the X position of the robot.
- getX() - Method in class robocode.RobotStatus
-
Returns the X position of the robot.
- getY() - Method in class robocode.Bullet
-
Returns the Y position of the bullet.
- getY() - Method in class robocode.control.RobotSetup
-
Returns the y coordinate.
- getY() - Method in interface robocode.control.snapshot.IBulletSnapshot
-
Returns the Y position of the bullet.
- getY() - Method in interface robocode.control.snapshot.IRobotSnapshot
-
Returns the Y position of the robot.
- getY() - Method in class robocode.Robot
-
Returns the Y position of the robot.
- getY() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Returns the Y position of the robot.
- getY() - Method in class robocode.RobotStatus
-
Returns the Y position of the robot.
- gray - Static variable in class robocode.JuniorRobot
-
The color gray (0x808080)
- green - Static variable in class robocode.JuniorRobot
-
The color green (0x008000)
- GUN_TURN_RATE - Static variable in class robocode.Rules
-
The turning rate of the gun measured in degrees, which is
20 degrees/turn.
- GUN_TURN_RATE_RADIANS - Static variable in class robocode.Rules
-
The turning rate of the gun measured in radians instead of degrees.
- gunBearing - Variable in class robocode.JuniorRobot
-
Current gun heading angle of this robot compared to its body (in degrees).
- gunHeading - Variable in class robocode.JuniorRobot
-
Current gun heading angle of this robot (in degrees).
- gunReady - Variable in class robocode.JuniorRobot
-
Flag specifying if the gun is ready to fire, i.e.
- GunTurnCompleteCondition - Class in robocode
-
A prebuilt condition you can use that indicates your gun has finished
turning.
- GunTurnCompleteCondition(AdvancedRobot) - Constructor for class robocode.GunTurnCompleteCondition
-
Creates a new GunTurnCompleteCondition with default priority.
- GunTurnCompleteCondition(AdvancedRobot, int) - Constructor for class robocode.GunTurnCompleteCondition
-
Creates a new GunTurnCompleteCondition with a specific priority.
- onBattleCompleted(BattleCompletedEvent) - Method in class robocode.control.events.BattleAdaptor
-
This method is called when the battle has completed successfully and results are available.
- onBattleCompleted(BattleCompletedEvent) - Method in interface robocode.control.events.IBattleListener
-
This method is called when the battle has completed successfully and results are available.
- onBattleEnded(BattleEndedEvent) - Method in class robocode.Robot
-
This method is called after the end of the battle, even when the battle is aborted.
- onBattleEnded(BattleEndedEvent) - Method in interface robocode.robotinterfaces.IBasicEvents2
-
This method is called after the end of the battle, even when the battle is aborted.
- onBattleError(BattleErrorEvent) - Method in class robocode.control.events.BattleAdaptor
-
This method is called when the game has sent an error message.
- onBattleError(BattleErrorEvent) - Method in interface robocode.control.events.IBattleListener
-
This method is called when the game has sent an error message.
- onBattleFinished(BattleFinishedEvent) - Method in class robocode.control.events.BattleAdaptor
-
This method is called when the battle has finished.
- onBattleFinished(BattleFinishedEvent) - Method in interface robocode.control.events.IBattleListener
-
This method is called when the battle has finished.
- onBattleMessage(BattleMessageEvent) - Method in class robocode.control.events.BattleAdaptor
-
This method is called when the game has sent a new information message.
- onBattleMessage(BattleMessageEvent) - Method in interface robocode.control.events.IBattleListener
-
This method is called when the game has sent a new information message.
- onBattlePaused(BattlePausedEvent) - Method in class robocode.control.events.BattleAdaptor
-
This method is called when the battle has been paused, either by the user or the game.
- onBattlePaused(BattlePausedEvent) - Method in interface robocode.control.events.IBattleListener
-
This method is called when the battle has been paused, either by the user or the game.
- onBattleResumed(BattleResumedEvent) - Method in class robocode.control.events.BattleAdaptor
-
This method is called when the battle has been resumed (after having been paused).
- onBattleResumed(BattleResumedEvent) - Method in interface robocode.control.events.IBattleListener
-
This method is called when the battle has been resumed (after having been paused).
- onBattleStarted(BattleStartedEvent) - Method in class robocode.control.events.BattleAdaptor
-
This method is called when a new battle has started.
- onBattleStarted(BattleStartedEvent) - Method in interface robocode.control.events.IBattleListener
-
This method is called when a new battle has started.
- onBulletHit(BulletHitEvent) - Method in class robocode.Robot
-
This method is called when one of your bullets hits another robot.
- onBulletHit(BulletHitEvent) - Method in interface robocode.robotinterfaces.IBasicEvents
-
This method is called when one of your bullets hits another robot.
- onBulletHitBullet(BulletHitBulletEvent) - Method in class robocode.Robot
-
This method is called when one of your bullets hits another bullet.
- onBulletHitBullet(BulletHitBulletEvent) - Method in interface robocode.robotinterfaces.IBasicEvents
-
This method is called when one of your bullets hits another bullet.
- onBulletMissed(BulletMissedEvent) - Method in class robocode.Robot
-
This method is called when one of your bullets misses, i.e.
- onBulletMissed(BulletMissedEvent) - Method in interface robocode.robotinterfaces.IBasicEvents
-
This method is called when one of your bullets misses, i.e.
- onCustomEvent(CustomEvent) - Method in class robocode.AdvancedRobot
-
This method is called when a custom condition is met.
- onCustomEvent(CustomEvent) - Method in interface robocode.robotinterfaces.IAdvancedEvents
-
This method is called when a custom condition is met.
- onDeath(DeathEvent) - Method in class robocode.AdvancedRobot
-
This method is called if your robot dies.
- onDeath(DeathEvent) - Method in class robocode.Robot
-
This method is called if your robot dies.
- onDeath(DeathEvent) - Method in interface robocode.robotinterfaces.IBasicEvents
-
This method is called if your robot dies.
- onHitByBullet() - Method in class robocode.JuniorRobot
-
This event methods is called from the game when this robot has been hit
by another robot's bullet.
- onHitByBullet(HitByBulletEvent) - Method in class robocode.Robot
-
This method is called when your robot is hit by a bullet.
- onHitByBullet(HitByBulletEvent) - Method in interface robocode.robotinterfaces.IBasicEvents
-
This method is called when your robot is hit by a bullet.
- onHitRobot() - Method in class robocode.JuniorRobot
-
This event methods is called from the game when a bullet from this robot
has hit another robot.
- onHitRobot(HitRobotEvent) - Method in class robocode.Robot
-
This method is called when your robot collides with another robot.
- onHitRobot(HitRobotEvent) - Method in interface robocode.robotinterfaces.IBasicEvents
-
This method is called when your robot collides with another robot.
- onHitWall() - Method in class robocode.JuniorRobot
-
This event methods is called from the game when this robot has hit a wall.
- onHitWall(HitWallEvent) - Method in class robocode.Robot
-
This method is called when your robot collides with a wall.
- onHitWall(HitWallEvent) - Method in interface robocode.robotinterfaces.IBasicEvents
-
This method is called when your robot collides with a wall.
- onKeyPressed(KeyEvent) - Method in class robocode.Robot
-
This method is called when a key has been pressed.
- onKeyPressed(KeyEvent) - Method in interface robocode.robotinterfaces.IInteractiveEvents
-
This method is called when a key has been pressed.
- onKeyReleased(KeyEvent) - Method in class robocode.Robot
-
This method is called when a key has been released.
- onKeyReleased(KeyEvent) - Method in interface robocode.robotinterfaces.IInteractiveEvents
-
This method is called when a key has been released.
- onKeyTyped(KeyEvent) - Method in class robocode.Robot
-
This method is called when a key has been typed (pressed and released).
- onKeyTyped(KeyEvent) - Method in interface robocode.robotinterfaces.IInteractiveEvents
-
This method is called when a key has been typed (pressed and released).
- onMessageReceived(MessageEvent) - Method in interface robocode.robotinterfaces.ITeamEvents
-
This method is called when your robot receives a message from a teammate.
- onMessageReceived(MessageEvent) - Method in class robocode.TeamRobot
-
This method is called when your robot receives a message from a teammate.
- onMouseClicked(MouseEvent) - Method in class robocode.Robot
-
This method is called when a mouse button has been clicked (pressed and
released).
- onMouseClicked(MouseEvent) - Method in interface robocode.robotinterfaces.IInteractiveEvents
-
This method is called when a mouse button has been clicked (pressed and
released).
- onMouseDragged(MouseEvent) - Method in class robocode.Robot
-
This method is called when a mouse button has been pressed and then
dragged.
- onMouseDragged(MouseEvent) - Method in interface robocode.robotinterfaces.IInteractiveEvents
-
This method is called when a mouse button has been pressed and then
dragged.
- onMouseEntered(MouseEvent) - Method in class robocode.Robot
-
This method is called when the mouse has entered the battle view.
- onMouseEntered(MouseEvent) - Method in interface robocode.robotinterfaces.IInteractiveEvents
-
This method is called when the mouse has entered the battle view.
- onMouseExited(MouseEvent) - Method in class robocode.Robot
-
This method is called when the mouse has exited the battle view.
- onMouseExited(MouseEvent) - Method in interface robocode.robotinterfaces.IInteractiveEvents
-
This method is called when the mouse has exited the battle view.
- onMouseMoved(MouseEvent) - Method in class robocode.Robot
-
This method is called when the mouse has been moved.
- onMouseMoved(MouseEvent) - Method in interface robocode.robotinterfaces.IInteractiveEvents
-
This method is called when the mouse has been moved.
- onMousePressed(MouseEvent) - Method in class robocode.Robot
-
This method is called when a mouse button has been pressed.
- onMousePressed(MouseEvent) - Method in interface robocode.robotinterfaces.IInteractiveEvents
-
This method is called when a mouse button has been pressed.
- onMouseReleased(MouseEvent) - Method in class robocode.Robot
-
This method is called when a mouse button has been released.
- onMouseReleased(MouseEvent) - Method in interface robocode.robotinterfaces.IInteractiveEvents
-
This method is called when a mouse button has been released.
- onMouseWheelMoved(MouseWheelEvent) - Method in class robocode.Robot
-
This method is called when the mouse wheel has been rotated.
- onMouseWheelMoved(MouseWheelEvent) - Method in interface robocode.robotinterfaces.IInteractiveEvents
-
This method is called when the mouse wheel has been rotated.
- onPaint(Graphics2D) - Method in class robocode.Robot
-
This method is called every time the robot is painted.
- onPaint(Graphics2D) - Method in interface robocode.robotinterfaces.IPaintEvents
-
This method is called every time the robot is painted.
- onRobotDeath(RobotDeathEvent) - Method in class robocode.Robot
-
This method is called when another robot dies.
- onRobotDeath(RobotDeathEvent) - Method in interface robocode.robotinterfaces.IBasicEvents
-
This method is called when another robot dies.
- onRoundEnded(RoundEndedEvent) - Method in class robocode.control.events.BattleAdaptor
-
This method is called when the current round of a battle has ended.
- onRoundEnded(RoundEndedEvent) - Method in interface robocode.control.events.IBattleListener
-
This method is called when the current round of a battle has ended.
- onRoundEnded(RoundEndedEvent) - Method in class robocode.Robot
-
This method is called after the end of a round.
- onRoundEnded(RoundEndedEvent) - Method in interface robocode.robotinterfaces.IBasicEvents3
-
This method is called after the end of a round.
- onRoundStarted(RoundStartedEvent) - Method in class robocode.control.events.BattleAdaptor
-
This method is called when a new round in a battle has started.
- onRoundStarted(RoundStartedEvent) - Method in interface robocode.control.events.IBattleListener
-
This method is called when a new round in a battle has started.
- onScannedRobot() - Method in class robocode.JuniorRobot
-
This event method is called from the game when the radar detects another
robot.
- onScannedRobot(ScannedRobotEvent) - Method in class robocode.Robot
-
This method is called when your robot sees another robot, i.e.
- onScannedRobot(ScannedRobotEvent) - Method in interface robocode.robotinterfaces.IBasicEvents
-
This method is called when your robot sees another robot, i.e.
- onSkippedTurn(SkippedTurnEvent) - Method in class robocode.AdvancedRobot
-
This method is called if the robot is using too much time between
actions.
- onSkippedTurn(SkippedTurnEvent) - Method in interface robocode.robotinterfaces.IAdvancedEvents
-
This method is called if the robot is using too much time between
actions.
- onStatus(StatusEvent) - Method in class robocode.Robot
-
This method is called every turn in a battle round in order to provide
the robot status as a complete snapshot of the robot's current state at
that specific time.
- onStatus(StatusEvent) - Method in interface robocode.robotinterfaces.IBasicEvents
-
This method is called every turn in a battle round in order to provide
the robot status as a complete snapshot of the robot's current state at
that specific time.
- onTurnEnded(TurnEndedEvent) - Method in class robocode.control.events.BattleAdaptor
-
This method is called when the current turn in a battle round is ended.
- onTurnEnded(TurnEndedEvent) - Method in interface robocode.control.events.IBattleListener
-
This method is called when the current turn in a battle round is ended.
- onTurnStarted(TurnStartedEvent) - Method in class robocode.control.events.BattleAdaptor
-
This method is called when a new turn in a battle round has started.
- onTurnStarted(TurnStartedEvent) - Method in interface robocode.control.events.IBattleListener
-
This method is called when a new turn in a battle round has started.
- onWin(WinEvent) - Method in class robocode.Robot
-
This method is called if your robot wins a battle.
- onWin(WinEvent) - Method in interface robocode.robotinterfaces.IBasicEvents
-
This method is called if your robot wins a battle.
- orange - Static variable in class robocode.JuniorRobot
-
The color orange (0xFFA500)
- others - Variable in class robocode.JuniorRobot
-
Current number of other robots on the battle field.
- out - Variable in class robocode._RobotBase
-
The output stream your robot should use to print.
- SafeStatic - Annotation Type in robocode.annotation
-
Annotation used for marking a static field as being safe so that Robocode should
not print out warnings at runtime when this annotation is being used.
- scan() - Method in class robocode.Robot
-
Scans for other robots.
- scannedAngle - Variable in class robocode.JuniorRobot
-
Current angle to the scanned nearest other robot (in degrees).
- scannedBearing - Variable in class robocode.JuniorRobot
-
Current angle to the scanned nearest other robot (in degrees) compared to
the body of this robot.
- scannedDistance - Variable in class robocode.JuniorRobot
-
Current distance to the scanned nearest other robot (in pixels).
- scannedEnergy - Variable in class robocode.JuniorRobot
-
Current energy of scanned nearest other robot.
- scannedHeading - Variable in class robocode.JuniorRobot
-
Current heading of the scanned nearest other robot (in degrees).
- ScannedRobotEvent - Class in robocode
-
- ScannedRobotEvent() - Constructor for class robocode.ScannedRobotEvent
-
- ScannedRobotEvent(String, double, double, double, double, double) - Constructor for class robocode.ScannedRobotEvent
-
- ScannedRobotEvent(String, double, double, double, double, double, boolean) - Constructor for class robocode.ScannedRobotEvent
-
Called by the game to create a new ScannedRobotEvent.
- scannedVelocity - Variable in class robocode.JuniorRobot
-
Current velocity of the scanned nearest other robot.
- score - Variable in class robocode.BattleResults
-
- seconds - Variable in class robocode.BattleResults
-
- sendMessage(String, Serializable) - Method in interface robocode.robotinterfaces.peer.ITeamRobotPeer
-
Sends a message to one (or more) teammates.
- sendMessage(String, Serializable) - Method in class robocode.TeamRobot
-
Sends a message to one (or more) teammates.
- serialVersionUID - Static variable in class robocode.BattleResults
-
- setAdjustGunForBodyTurn(boolean) - Method in interface robocode.robotinterfaces.peer.IStandardRobotPeer
-
Sets the gun to adjust for the bot's turn, so the gun behaves like it is
turning independent of the bot's turn.
- setAdjustGunForRobotTurn(boolean) - Method in class robocode.Robot
-
Sets the gun to turn independent from the robot's turn.
- setAdjustRadarForBodyTurn(boolean) - Method in interface robocode.robotinterfaces.peer.IStandardRobotPeer
-
Sets the radar to turn independent from the robot's turn.
- setAdjustRadarForGunTurn(boolean) - Method in class robocode.Robot
-
Sets the radar to turn independent from the gun's turn.
- setAdjustRadarForGunTurn(boolean) - Method in interface robocode.robotinterfaces.peer.IStandardRobotPeer
-
Sets the radar to adjust for the gun's turn, so the radar behaves like it is
turning independent of the gun's turn.
- setAdjustRadarForRobotTurn(boolean) - Method in class robocode.Robot
-
Sets the radar to turn independent from the robot's turn.
- setAhead(double) - Method in class robocode.AdvancedRobot
-
Sets the robot to move ahead (forward) by distance measured in pixels
when the next execution takes place.
- setAllColors(Color) - Method in class robocode.Robot
-
Sets all the robot's color to the same color in the same time, i.e.
- setBack(double) - Method in class robocode.AdvancedRobot
-
Sets the robot to move back by distance measured in pixels when the next
execution takes place.
- setBodyColor(Color) - Method in class robocode.Robot
-
Sets the color of the robot's body.
- setBodyColor(Color) - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Sets the color of the robot's body.
- setBulletColor(Color) - Method in class robocode.Robot
-
Sets the color of the robot's bullets.
- setBulletColor(Color) - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Sets the color of the robot's bullets.
- setCall() - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
This call must be made from a robot call to inform the game
that the robot made a set*
call like e.g.
- setColors(int, int, int) - Method in class robocode.JuniorRobot
-
Sets the colors of the robot.
- setColors(int, int, int, int, int) - Method in class robocode.JuniorRobot
-
Sets the colors of the robot.
- setColors(Color, Color, Color) - Method in class robocode.Robot
-
Sets the color of the robot's body, gun, and radar in the same time.
- setColors(Color, Color, Color, Color, Color) - Method in class robocode.Robot
-
Sets the color of the robot's body, gun, radar, bullet, and scan arc in
the same time.
- setDebugProperty(String, String) - Method in class robocode.Robot
-
Sets the debug property with the specified key to the specified value.
- setDebugProperty(String, String) - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Sets the debug property with the specified key to the specified value.
- setDumpingErrors(boolean) - Static method in class robocode.control.RobotTestBed
-
Sets whether error messages should be printed out.
- setDumpingMessages(boolean) - Static method in class robocode.control.RobotTestBed
-
Sets whether robot messages should be printed out.
- setDumpingOutput(boolean) - Static method in class robocode.control.RobotTestBed
-
Sets whether robot output should be printed out.
- setDumpingPositions(boolean) - Static method in class robocode.control.RobotTestBed
-
Sets whether robot positions should be printed during each turn.
- setDumpingTurns(boolean) - Static method in class robocode.control.RobotTestBed
-
Sets whether each turn should be printed out.
- setErrorDumping(boolean) - Static method in class robocode.control.RobotTestBed
-
Thread-safe method to modify the error dumping flag.
- setEventPriority(String, int) - Method in class robocode.AdvancedRobot
-
Sets the priority of a class of events.
- setEventPriority(String, int) - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
Sets the priority of a class of events.
- setFire(double) - Method in class robocode.AdvancedRobot
-
Sets the gun to fire a bullet when the next execution takes place.
- setFire(double) - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Sets the gun to fire a bullet when the next execution takes place.
- setFireBullet(double) - Method in class robocode.AdvancedRobot
-
Sets the gun to fire a bullet when the next execution takes place.
- setGunColor(Color) - Method in class robocode.Robot
-
Sets the color of the robot's gun.
- setGunColor(Color) - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Sets the color of the robot's gun.
- setGunImageName(String) - Method in class robocode._Robot
-
- setGunRotationRate(double) - Method in class robocode.RateControlRobot
-
Sets the gun's clockwise (right) rotation per turn, in degrees.
- setGunRotationRateRadians(double) - Method in class robocode.RateControlRobot
-
Sets the gun's clockwise (right) rotation per turn, in radians.
- setInterruptible(boolean) - Method in class robocode._Robot
-
- setInterruptible(boolean) - Method in class robocode.AdvancedRobot
-
Call this during an event handler to allow new events of the same
priority to restart the event handler.
- setInterruptible(boolean) - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
Call this during an event handler to allow new events of the same
priority to restart the event handler.
- setLogErrorsEnabled(boolean) - Static method in class robocode.control.RobocodeEngine
-
- setLogMessagesEnabled(boolean) - Static method in class robocode.control.RobocodeEngine
-
Enables or disables messages and warnings logged to
System.out
.
- setMaxTurnRate(double) - Method in class robocode.AdvancedRobot
-
Sets the maximum turn rate of the robot measured in degrees if the robot
should turn slower than
Rules.MAX_TURN_RATE
(10 degress/turn).
- setMaxTurnRate(double) - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
Sets the maximum turn rate of the robot measured in degrees if the robot
should turn slower than
Rules.MAX_TURN_RATE
(10 degress/turn).
- setMaxVelocity(double) - Method in class robocode.AdvancedRobot
-
Sets the maximum velocity of the robot measured in pixels/turn if the
robot should move slower than
Rules.MAX_VELOCITY
(8 pixels/turn).
- setMaxVelocity(double) - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
Sets the maximum velocity of the robot measured in pixels/turn if the
robot should move slower than
Rules.MAX_VELOCITY
(8 pixels/turn).
- setMessageDumping(boolean) - Static method in class robocode.control.RobotTestBed
-
Thread-safe method to modify the message dumping flag.
- setMove(double) - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
Sets the robot to move forward or backward by distance measured in pixels
when the next execution takes place.
- setName(String) - Method in class robocode.Condition
-
Sets the name of this condition.
- setOut(PrintStream) - Method in class robocode._RobotBase
-
Do not call this method!
- setOut(PrintStream) - Method in interface robocode.robotinterfaces.IBasicRobot
-
Do not call this method!
- setOutputDumping(boolean) - Static method in class robocode.control.RobotTestBed
-
Thread-safe method to modify the output dumping flag.
- setPeer(IBasicRobotPeer) - Method in class robocode._RobotBase
-
Do not call this method! Your robot will simply stop interacting with
the game.
- setPeer(IBasicRobotPeer) - Method in interface robocode.robotinterfaces.IBasicRobot
-
Do not call this method! Your robot will simply stop interacting with
the game.
- setPositionDumping(boolean) - Static method in class robocode.control.RobotTestBed
-
Thread-safe method to modify the position dumping flag.
- setPriority(int) - Method in class robocode.Condition
-
Sets the priority of this condition.
- setPriority(int) - Method in class robocode.Event
-
Changes the priority of this event.
- setRadarColor(Color) - Method in class robocode.Robot
-
Sets the color of the robot's radar.
- setRadarColor(Color) - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Sets the color of the robot's radar.
- setRadarImageName(String) - Method in class robocode._Robot
-
- setRadarRotationRate(double) - Method in class robocode.RateControlRobot
-
Sets the radar's clockwise (right) rotation per turn, in degrees.
- setRadarRotationRateRadians(double) - Method in class robocode.RateControlRobot
-
Sets the radar's clockwise (right) rotation per turn, in radians.
- setRandom(Random) - Static method in class robocode.control.RandomFactory
-
Sets the random number generator instance used for generating a stream of
random numbers.
- setResume() - Method in class robocode.AdvancedRobot
-
- setResume() - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
- setRobotImageName(String) - Method in class robocode._Robot
-
- setScanColor(Color) - Method in class robocode.Robot
-
Sets the color of the robot's scan arc.
- setScanColor(Color) - Method in interface robocode.robotinterfaces.peer.IBasicRobotPeer
-
Sets the color of the robot's scan arc.
- setStop() - Method in class robocode.AdvancedRobot
-
This call is identical to
stop()
, but returns immediately, and
will not execute until you call
AdvancedRobot.execute()
or take an action that
executes.
- setStop(boolean) - Method in class robocode.AdvancedRobot
-
- setStop(boolean) - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
This call is identical to
stop(boolean)
, but returns immediately, and will not execute until you
call
execute()
or take an action that executes.
- setTime(long) - Method in class robocode.Event
-
Changes the time when this event occurred.
- setTurnBody(double) - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
Sets the robot's body to turn right or left by radians when the next
execution takes place.
- setTurnDumping(boolean) - Static method in class robocode.control.RobotTestBed
-
Thread-safe method to modify the turn dumping flag.
- setTurnGun(double) - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
Sets the robot's gun to turn right or left by radians when the next
execution takes place.
- setTurnGunLeft(double) - Method in class robocode.AdvancedRobot
-
Sets the robot's gun to turn left by degrees when the next execution
takes place.
- setTurnGunLeftDegrees(double) - Method in class robocode._AdvancedRobot
-
- setTurnGunLeftRadians(double) - Method in class robocode._AdvancedRadiansRobot
-
- setTurnGunLeftRadians(double) - Method in class robocode.AdvancedRobot
-
Sets the robot's gun to turn left by radians when the next execution
takes place.
- setTurnGunRight(double) - Method in class robocode.AdvancedRobot
-
Sets the robot's gun to turn right by degrees when the next execution
takes place.
- setTurnGunRightDegrees(double) - Method in class robocode._AdvancedRobot
-
- setTurnGunRightRadians(double) - Method in class robocode._AdvancedRadiansRobot
-
- setTurnGunRightRadians(double) - Method in class robocode.AdvancedRobot
-
Sets the robot's gun to turn right by radians when the next execution
takes place.
- setTurnLeft(double) - Method in class robocode.AdvancedRobot
-
Sets the robot's body to turn left by degrees when the next execution
takes place.
- setTurnLeftDegrees(double) - Method in class robocode._AdvancedRobot
-
- setTurnLeftRadians(double) - Method in class robocode._AdvancedRadiansRobot
-
- setTurnLeftRadians(double) - Method in class robocode.AdvancedRobot
-
Sets the robot's body to turn left by radians when the next execution
takes place.
- setTurnRadar(double) - Method in interface robocode.robotinterfaces.peer.IAdvancedRobotPeer
-
Sets the robot's radar to turn right or left by radians when the next
execution takes place.
- setTurnRadarLeft(double) - Method in class robocode.AdvancedRobot
-
Sets the robot's radar to turn left by degrees when the next execution
takes place.
- setTurnRadarLeftDegrees(double) - Method in class robocode._AdvancedRobot
-
- setTurnRadarLeftRadians(double) - Method in class robocode._AdvancedRadiansRobot
-
- setTurnRadarLeftRadians(double) - Method in class robocode.AdvancedRobot
-
Sets the robot's radar to turn left by radians when the next execution
takes place.
- setTurnRadarRight(double) - Method in class robocode.AdvancedRobot
-
Sets the robot's radar to turn right by degrees when the next execution
takes place.
- setTurnRadarRightDegrees(double) - Method in class robocode._AdvancedRobot
-
- setTurnRadarRightRadians(double) - Method in class robocode._AdvancedRadiansRobot
-
- setTurnRadarRightRadians(double) - Method in class robocode.AdvancedRobot
-
Sets the robot's radar to turn right by radians when the next execution
takes place.
- setTurnRate(double) - Method in class robocode.RateControlRobot
-
Sets the robot's clockwise (right) rotation per turn, in degrees.
- setTurnRateRadians(double) - Method in class robocode.RateControlRobot
-
Sets the robot's clockwise (right) rotation per turn, in radians.
- setTurnRight(double) - Method in class robocode.AdvancedRobot
-
Sets the robot's body to turn right by degrees when the next execution
takes place.
- setTurnRightDegrees(double) - Method in class robocode._AdvancedRobot
-
- setTurnRightRadians(double) - Method in class robocode._AdvancedRadiansRobot
-
- setTurnRightRadians(double) - Method in class robocode.AdvancedRobot
-
Sets the robot's body to turn right by radians when the next execution
takes place.
- setVelocityRate(double) - Method in class robocode.RateControlRobot
-
Sets the speed the robot will move (forward), in pixels per turn.
- setVisible(boolean) - Method in interface robocode.control.IRobocodeEngine
-
Shows or hides the Robocode window.
- setVisible(boolean) - Method in class robocode.control.RobocodeEngine
-
Shows or hides the Robocode window.
- SkippedTurnEvent - Class in robocode
-
A SkippedTurnEvent is sent to
onSkippedTurn()
when your robot is forced to skipping a turn.
- SkippedTurnEvent(long) - Constructor for class robocode.SkippedTurnEvent
-
Called by the game to create a new SkippedTurnEvent.
- StatusEvent - Class in robocode
-
This event is sent to
onStatus()
every
turn in a battle to provide the status of the robot.
- StatusEvent(RobotStatus) - Constructor for class robocode.StatusEvent
-
This constructor is called internally from the game in order to create
a new
RobotStatus
.
- stop() - Method in class robocode.Robot
-
Immediately stops all movement, and saves it for a call to
Robot.resume()
.
- stop(boolean) - Method in class robocode.Robot
-
Immediately stops all movement, and saves it for a call to
Robot.resume()
.
- stop(boolean) - Method in interface robocode.robotinterfaces.peer.IStandardRobotPeer
-
- survival - Variable in class robocode.BattleResults
-