All Classes and Interfaces
Class
Description
A more advanced type of robot than Robot that allows non-blocking calls,
custom events, and writes to the filesystem.
An abstract adapter class for receiving battle events by implementing the
IBattleListener
.A BattleCompletedEvent is sent to
onBattleCompleted()
when the battle is completed successfully and results are available.A BattleEndedEvent is sent to
onBattleEnded()
when the battle is ended.A BattleErrorEvent is sent to
onBattleError()
when an error message is sent from the game in the during the battle.This is the base class of all battle events.
Defines the size of a battlefield, which is a part of the
BattleSpecification
.A BattleFinishedEvent is sent to
onBattleFinished()
when the battle is finished.A BattleMessageEvent is sent to
onBattleMessage()
when an informal message is sent from the game in the during the battle.A BattlePausedEvent is sent to
onBattlePaused()
when a battle has been paused.Contains the battle results returned by
BattleEndedEvent.getResults()
when a battle has ended.A BattleResumedEvent is sent to
onBattleResumed()
when a battle has been resumed (after having been paused).Contains the battle rules returned by
BattleStartedEvent.getBattleRules()
when a battle is started and
BattleCompletedEvent.getBattleRules()
when a battle is completed.A BattleSpecification defines a battle configuration used by the
RobocodeEngine
.A BattleStartedEvent is sent to
onBattleStarted()
when a new battle is started.A robot that implements BorderSentry is a robot type used for keeping other robots away from the borders,
i.e.
Represents a bullet.
This event is sent to
onBulletHitBullet
when one of your bullets has hit another bullet.This event is sent to
onBulletHit
when one of your bullets has hit another robot.This event is sent to
onBulletMissed
when one of your bullets has missed, i.e.Defines a bullet state, which can be: just fired, moving somewhere, hitting a victim,
hitting another bullet, hitting the wall, exploded, or inactive.
Tool used for calculating the code size of a directory or jar file.
Condition is used to define custom
waitFor(Condition)
and custom events for an AdvancedRobot
.This event is sent to
onCustomEvent()
when a custom condition is met.This event is sent to
onDeath()
when your
robot dies.Robots that implement Droid have no scanner, but an extra 20 life/energy.
The superclass of all Robocode events.
This is a class for file utilization.
Dummy class that stub out RobocodeGL 0.1.4 functionality.
A prebuilt condition you can use that indicates your gun has finished
turning.
Helpers for accessing hidden methods on events.
A HitByBulletEvent is sent to
onHitByBullet()
when your robot has been hit by a bullet.A HitRobotEvent is sent to
onHitRobot()
when your robot collides with another robot.A HitWallEvent is sent to
onHitWall()
when you collide a wall.An event interface for receiving advanced robot events with an
IAdvancedRobot
.A robot interface for creating a more advanced type of robot like
AdvancedRobot
that is able to handle advanced robot events.The advanced robot peer for advanced robot types like
AdvancedRobot
and TeamRobot
.An event interface for receiving basic robot events with an
IBasicRobot
.First extended version of the
IBasicEvents
interface.Second extended version of the
IBasicEvents
interface.The basic robot peer for all robot types.
The listener interface for receiving "interesting" battle events from the game, e.g.
Interface of a bullet snapshot at a specific time in a battle.
Interface of a debug property, which is a key-value pair.
An event interface for receiving interactive events with an
IInteractiveRobot
.A robot interface for creating an interactive type of robot like
Robot
and AdvancedRobot
that is able to
receive interactive events from the keyboard or mouse.A robot interface for creating the most primitive robot type, which is a
JuniorRobot
.The junior robot peer for junior robot types like
JuniorRobot
.An event interface for receiving paint events with an
IPaintRobot
.A robot interface that makes it possible for a robot to receive paint events.
Interface for the RobocodeEngine.
Interface of a robot snapshot at a specific time in a battle.
Interface of a score snapshot at a specific time in a battle.
An event interface for receiving robot team events with an
ITeamRobot
.A robot interface for creating a team robot like
TeamRobot
that is able to receive team events.The team robot peer for team robots like
TeamRobot
.Interface of a battle turn snapshot at a specific time in a battle.
This is the simplest robot type, which is simpler than the
Robot
and
AdvancedRobot
classes.Super class of all events that originates from the keyboard.
A KeyPressedEvent is sent to
onKeyPressed()
when a key has been pressed on the keyboard.A KeyReleasedEvent is sent to
onKeyReleased()
when a key has been released on the keyboard.A KeyTypedEvent is sent to
onKeyTyped()
when a key has been typed (pressed and released) on the keyboard.This is a class used for logging.
A MessageEvent is sent to
onMessageReceived()
when a teammate sends a message to your robot.A MouseClickedEvent is sent to
onMouseClicked()
when the mouse is clicked inside the battle view.A MouseDraggedEvent is sent to
onMouseDragged()
when the mouse is dragged inside the battle view.A MouseEnteredEvent is sent to
onMouseEntered()
when the mouse has entered the battle view.Super class of all events that originates from the mouse.
A MouseExitedEvent is sent to
onMouseExited()
when the mouse has exited the battle view.A MouseMovedEvent is sent to
onMouseMoved()
when the mouse has moved inside the battle view.A MousePressedEvent is sent to
onMousePressed()
when the mouse is pressed inside the battle view.A MouseReleasedEvent is sent to
onMouseReleased()
when the mouse is released inside the battle view.A MouseWheelMovedEvent is sent to
onMouseWheelMoved()
when the mouse wheel is rotated inside the battle view.A prebuilt condition you can use that indicates your robot has finished
moving.
This event occurs when your robot should paint, where the
onPaint()
is called on your robot.A prebuilt condition you can use that indicates your radar has finished
turning.
The RandomFactory is used for controlling the generation of random numbers,
and supports generating random numbers that are deterministic, which is
useful for testing purposes.
This advanced robot type allows you to set a rate for each of the robot's movements.
Robocode - A programming game involving battling AI tanks.
Copyright (c) 2001-2019 Mathew A.
Copyright (c) 2001-2019 Mathew A.
The RobocodeEngine is the interface provided for external applications
in order to let these applications run battles within the Robocode application,
and to get the results from these battles.
RobocodeFileOutputStream is similar to a
FileOutputStream
and is used for streaming/writing data out to a file, which you got
previously by calling getDataFile()
.RobocodeFileWriter is similar to a
FileWriter
and is used for
writing data out to a file, which you got by calling getDataFile()
.Deprecated.
Since 1.6.2.
Utility class for convenient access to Robocode system wide properties.
The basic robot class that you will extend to create your own robots.
This event is sent to
onRobotDeath()
when another robot (not your robot) dies.Contains the battle results for an individual robot
Contains the initial position and heading for a robot.
Defines the properties of a robot, which is returned from
RobocodeEngine.getLocalRepository()
.Defines a robot state, which can be: active on the battlefield, hitting a wall or robot this turn, or dead.
Contains the status of a robot for a specific time/turn returned by
StatusEvent.getStatus()
.A RoundEndedEvent is sent to
onRoundEnded()
when the current round of a battle has ended.A RoundEndedEvent is sent to
onRoundEnded()
when a round has ended.A RoundStartedEvent is sent to
onRoundStarted()
when a new round in a battle is started.Constants and methods that defines the rules of Robocode.
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.
A ScannedRobotEvent is sent to
onScannedRobot()
when you scan a robot.A SkippedTurnEvent is sent to
onSkippedTurn()
when your robot is forced to skipping a turn.This event is sent to
onStatus()
every
turn in a battle to provide the status of the robot.Class for utilizing strings.
An advanced type of robot that supports sending messages between team
mates in a robot team.
A prebuilt condition you can use that indicates your robot has finished
turning.
A TurnEndedEvent is sent to
onTurnEnded()
when the current turn in a battle round is ended.A TurnStartedEvent is sent to
onTurnStarted()
when a new turn in a battle round is started.Utility class used for working on URLs.
Utility class that provide methods for normalizing angles.
This event is sent to
onWin()
when your robot
wins the round in a battle.This class is used by the system as a placeholder for all *Radians calls in
AdvancedRobot
.This class is used by the system, as well as being a placeholder for all deprecated
(meaning, you should not use them) calls for
AdvancedRobot
.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
.This is the base class of all robots used by the system.