All Classes
-
All Classes Interface Summary Class Summary Enum Summary Annotation Types Summary Class Description AdvancedRobot A more advanced type of robot than Robot that allows non-blocking calls, custom events, and writes to the filesystem.BattleAdaptor An abstract adapter class for receiving battle events by implementing theIBattleListener
.BattleCompletedEvent A BattleCompletedEvent is sent toonBattleCompleted()
when the battle is completed successfully and results are available.BattleEndedEvent A BattleEndedEvent is sent toonBattleEnded()
when the battle is ended.BattleErrorEvent A BattleErrorEvent is sent toonBattleError()
when an error message is sent from the game in the during the battle.BattleEvent This is the base class of all battle events.BattlefieldSpecification Defines the size of a battlefield, which is a part of theBattleSpecification
.BattleFinishedEvent A BattleFinishedEvent is sent toonBattleFinished()
when the battle is finished.BattleMessageEvent A BattleMessageEvent is sent toonBattleMessage()
when an informal message is sent from the game in the during the battle.BattlePausedEvent A BattlePausedEvent is sent toonBattlePaused()
when a battle has been paused.BattleResults Contains the battle results returned byBattleEndedEvent.getResults()
when a battle has ended.BattleResumedEvent A BattleResumedEvent is sent toonBattleResumed()
when a battle has been resumed (after having been paused).BattleRules Contains the battle rules returned byBattleStartedEvent.getBattleRules()
when a battle is started andBattleCompletedEvent.getBattleRules()
when a battle is completed.BattleSpecification A BattleSpecification defines a battle configuration used by theRobocodeEngine
.BattleStartedEvent A BattleStartedEvent is sent toonBattleStarted()
when a new battle is started.BorderSentry A robot that implements BorderSentry is a robot type used for keeping other robots away from the borders, i.e.Bullet Represents a bullet.BulletHitBulletEvent This event is sent toonBulletHitBullet
when one of your bullets has hit another bullet.BulletHitEvent This event is sent toonBulletHit
when one of your bullets has hit another robot.BulletMissedEvent This event is sent toonBulletMissed
when one of your bullets has missed, i.e.BulletState Defines a bullet state, which can be: just fired, moving somewhere, hitting a victim, hitting another bullet, hitting the wall, exploded, or inactive.Condition Condition is used to define customwaitFor(Condition)
and custom events for anAdvancedRobot
.CustomEvent This event is sent toonCustomEvent()
when a custom condition is met.DeathEvent This event is sent toonDeath()
when your robot dies.Droid Robots that implement Droid have no scanner, but an extra 20 life/energy.Event The superclass of all Robocode events.GunTurnCompleteCondition A prebuilt condition you can use that indicates your gun has finished turning.HitByBulletEvent A HitByBulletEvent is sent toonHitByBullet()
when your robot has been hit by a bullet.HitRobotEvent A HitRobotEvent is sent toonHitRobot()
when your robot collides with another robot.HitWallEvent A HitWallEvent is sent toonHitWall()
when you collide a wall.IAdvancedEvents An event interface for receiving advanced robot events with anIAdvancedRobot
.IAdvancedRobot A robot interface for creating a more advanced type of robot likeAdvancedRobot
that is able to handle advanced robot events.IAdvancedRobotPeer The advanced robot peer for advanced robot types likeAdvancedRobot
andTeamRobot
.IBasicEvents An event interface for receiving basic robot events with anIBasicRobot
.IBasicEvents2 First extended version of theIBasicEvents
interface.IBasicEvents3 Second extended version of theIBasicEvents
interface.IBasicRobot IBasicRobotPeer The basic robot peer for all robot types.IBattleListener The listener interface for receiving "interesting" battle events from the game, e.g.IBulletSnapshot Interface of a bullet snapshot at a specific time in a battle.IDebugProperty Interface of a debug property, which is a key-value pair.IInteractiveEvents An event interface for receiving interactive events with anIInteractiveRobot
.IInteractiveRobot A robot interface for creating an interactive type of robot likeRobot
andAdvancedRobot
that is able to receive interactive events from the keyboard or mouse.IJuniorRobot A robot interface for creating the most primitive robot type, which is aJuniorRobot
.IJuniorRobotPeer The junior robot peer for junior robot types likeJuniorRobot
.IPaintEvents An event interface for receiving paint events with anIPaintRobot
.IPaintRobot A robot interface that makes it possible for a robot to receive paint events.IRobocodeEngine Interface for the RobocodeEngine.IRobotSnapshot Interface of a robot snapshot at a specific time in a battle.IScoreSnapshot Interface of a score snapshot at a specific time in a battle.IStandardRobotPeer ITeamEvents An event interface for receiving robot team events with anITeamRobot
.ITeamRobot A robot interface for creating a team robot likeTeamRobot
that is able to receive team events.ITeamRobotPeer The team robot peer for team robots likeTeamRobot
.ITurnSnapshot Interface of a battle turn snapshot at a specific time in a battle.JuniorRobot This is the simplest robot type, which is simpler than theRobot
andAdvancedRobot
classes.KeyEvent Super class of all events that originates from the keyboard.KeyPressedEvent A KeyPressedEvent is sent toonKeyPressed()
when a key has been pressed on the keyboard.KeyReleasedEvent A KeyReleasedEvent is sent toonKeyReleased()
when a key has been released on the keyboard.KeyTypedEvent A KeyTypedEvent is sent toonKeyTyped()
when a key has been typed (pressed and released) on the keyboard.MessageEvent A MessageEvent is sent toonMessageReceived()
when a teammate sends a message to your robot.MouseClickedEvent A MouseClickedEvent is sent toonMouseClicked()
when the mouse is clicked inside the battle view.MouseDraggedEvent A MouseDraggedEvent is sent toonMouseDragged()
when the mouse is dragged inside the battle view.MouseEnteredEvent A MouseEnteredEvent is sent toonMouseEntered()
when the mouse has entered the battle view.MouseEvent Super class of all events that originates from the mouse.MouseExitedEvent A MouseExitedEvent is sent toonMouseExited()
when the mouse has exited the battle view.MouseMovedEvent A MouseMovedEvent is sent toonMouseMoved()
when the mouse has moved inside the battle view.MousePressedEvent A MousePressedEvent is sent toonMousePressed()
when the mouse is pressed inside the battle view.MouseReleasedEvent A MouseReleasedEvent is sent toonMouseReleased()
when the mouse is released inside the battle view.MouseWheelMovedEvent A MouseWheelMovedEvent is sent toonMouseWheelMoved()
when the mouse wheel is rotated inside the battle view.MoveCompleteCondition A prebuilt condition you can use that indicates your robot has finished moving.PaintEvent This event occurs when your robot should paint, where theonPaint()
is called on your robot.RadarTurnCompleteCondition A prebuilt condition you can use that indicates your radar has finished turning.RandomFactory 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.RateControlRobot This advanced robot type allows you to set a rate for each of the robot's movements.Robocode Robocode - A programming game involving battling AI tanks.
Copyright (c) 2001-2019 Mathew A.RobocodeEngine 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 RobocodeFileOutputStream is similar to aFileOutputStream
and is used for streaming/writing data out to a file, which you got previously by callinggetDataFile()
.RobocodeFileWriter RobocodeFileWriter is similar to aFileWriter
and is used for writing data out to a file, which you got by callinggetDataFile()
.RobocodeListener Deprecated. Since 1.6.2.Robot The basic robot class that you will extend to create your own robots.RobotDeathEvent This event is sent toonRobotDeath()
when another robot (not your robot) dies.RobotResults Contains the battle results for an individual robotRobotSetup Contains the initial position and heading for a robot.RobotSpecification Defines the properties of a robot, which is returned fromRobocodeEngine.getLocalRepository()
.RobotState Defines a robot state, which can be: active on the battlefield, hitting a wall or robot this turn, or dead.RobotStatus Contains the status of a robot for a specific time/turn returned byStatusEvent.getStatus()
.RoundEndedEvent A RoundEndedEvent is sent toonRoundEnded()
when the current round of a battle has ended.RoundEndedEvent A RoundEndedEvent is sent toonRoundEnded()
when a round has ended.RoundStartedEvent A RoundStartedEvent is sent toonRoundStarted()
when a new round in a battle is started.Rules Constants and methods that defines the rules of Robocode.SafeStatic 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.ScannedRobotEvent A ScannedRobotEvent is sent toonScannedRobot()
when you scan a robot.SkippedTurnEvent A SkippedTurnEvent is sent toonSkippedTurn()
when your robot is forced to skipping a turn.StatusEvent This event is sent toonStatus()
every turn in a battle to provide the status of the robot.TeamRobot An advanced type of robot that supports sending messages between team mates in a robot team.TurnCompleteCondition A prebuilt condition you can use that indicates your robot has finished turning.TurnEndedEvent A TurnEndedEvent is sent toonTurnEnded()
when the current turn in a battle round is ended.TurnStartedEvent A TurnStartedEvent is sent toonTurnStarted()
when a new turn in a battle round is started.Utils Utility class that provide methods for normalizing angles.WinEvent This event is sent toonWin()
when your robot wins the round in a battle._AdvancedRadiansRobot This class is used by the system as a placeholder for all *Radians calls inAdvancedRobot
._AdvancedRobot This class is used by the system, as well as being a placeholder for all deprecated (meaning, you should not use them) calls forAdvancedRobot
._Robot This class is used by the system, as well as being a placeholder for all deprecated (meaning, you should not use them) calls forRobot
._RobotBase This is the base class of all robots used by the system.