Index

A B C D E F G H I J L M N O P R S T W Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ACCELERATION - Static variable in class dev.robocode.tankroyale.botapi.Constants
Acceleration is the increase in speed per turn, which adds 1 unit to the speed per turn when the bot is increasing its speed moving forward.
addAuthor(String) - Method in interface dev.robocode.tankroyale.botapi.BotInfo.IBuilder
Adds an author of the bot.
addCountryCode(String) - Method in interface dev.robocode.tankroyale.botapi.BotInfo.IBuilder
Adds a country code for the bot.
addCustomEvent(Condition) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Adds an event handler that will be automatically triggered IBaseBot.onCustomEvent(dev.robocode.tankroyale.botapi.events.CustomEvent) when the Condition.test() returns true.
addCustomEvent(Condition) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Adds an event handler that will be automatically triggered IBaseBot.onCustomEvent(dev.robocode.tankroyale.botapi.events.CustomEvent) when the Condition.test() returns true.
addGameType(String) - Method in interface dev.robocode.tankroyale.botapi.BotInfo.IBuilder
Adds a game type that this bot is capable of participating in.

B

back(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Moves the bot backward until it has traveled a specific distance from its current position, or it is moving into an obstacle.
back(double) - Method in interface dev.robocode.tankroyale.botapi.IBot
Moves the bot backward until it has traveled a specific distance from its current position, or it is moving into an obstacle.
BaseBot - Class in dev.robocode.tankroyale.botapi
Abstract bot class that takes care of communication between the bot and the server, and sends notifications through the event handlers.
BaseBot() - Constructor for class dev.robocode.tankroyale.botapi.BaseBot
Constructor for initializing a new instance of the BaseBot class.
BaseBot(BotInfo) - Constructor for class dev.robocode.tankroyale.botapi.BaseBot
Constructor for initializing a new instance of the BaseBot class.
BaseBot(BotInfo, URI) - Constructor for class dev.robocode.tankroyale.botapi.BaseBot
Constructor for initializing a new instance of the BaseBot class.
BaseBot(BotInfo, URI, String) - Constructor for class dev.robocode.tankroyale.botapi.BaseBot
Constructor for initializing a new instance of the BaseBot class.
bearingTo(double, double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Calculates the bearing (delta angle) between the current direction of the bot´s body and the direction to the point x,y.
BLACK - Static variable in class dev.robocode.tankroyale.botapi.Color
 
BLUE - Static variable in class dev.robocode.tankroyale.botapi.Color
 
Bot - Class in dev.robocode.tankroyale.botapi
Abstract bot class provides convenient methods for movement, turning, and firing the gun.
Bot() - Constructor for class dev.robocode.tankroyale.botapi.Bot
 
Bot(BotInfo) - Constructor for class dev.robocode.tankroyale.botapi.Bot
 
Bot(BotInfo, URI) - Constructor for class dev.robocode.tankroyale.botapi.Bot
 
Bot(BotInfo, URI, String) - Constructor for class dev.robocode.tankroyale.botapi.Bot
 
BOT_DEATH - Static variable in class dev.robocode.tankroyale.botapi.events.DefaultEventPriority
Event priority for the BotDeathEvent
BotDeathEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring when another bot has died.
BotDeathEvent(int, int) - Constructor for class dev.robocode.tankroyale.botapi.events.BotDeathEvent
Initializes a new instance of the BotDeathEvent class.
BotEvent - Class in dev.robocode.tankroyale.botapi.events
Bot event occurring during a battle.
BotEvent(int) - Constructor for class dev.robocode.tankroyale.botapi.events.BotEvent
Initializes a new instance of the Event class.
BotException - Exception Class in dev.robocode.tankroyale.botapi
Represents errors that occur with bot execution.
BotException(String) - Constructor for exception class dev.robocode.tankroyale.botapi.BotException
Initializes a new instance of the BotException class with a specified error message.
BotException(String, Exception) - Constructor for exception class dev.robocode.tankroyale.botapi.BotException
Initializes a new instance of the BotException class with a specified error message and a reference to the inner exception that is the cause of this exception.
BotInfo - Class in dev.robocode.tankroyale.botapi
Bot info contains the properties of a bot.
BotInfo(String, String, List<String>, String, String, List<String>, Collection<String>, String, String, InitialPosition) - Constructor for class dev.robocode.tankroyale.botapi.BotInfo
Initializes a new instance of the BotInfo class.

Note that the recommended method for creating a BotInfo class is to use the BotInfo.IBuilder interface provided with the static BotInfo.builder() method.
BotInfo.IBuilder - Interface in dev.robocode.tankroyale.botapi
Builder interface for providing a builder for building BotInfo objects, and which supports method chaining.
BotResults - Class in dev.robocode.tankroyale.botapi
Represents individual bot results.
BotResults(int, double, double, double, double, double, double, double, int, int, int) - Constructor for class dev.robocode.tankroyale.botapi.BotResults
Initializes a new instance of the BotInfo class.
BotState - Class in dev.robocode.tankroyale.botapi
Represents the current bot state.
BotState(boolean, double, double, double, double, double, double, double, double, double, double, double, double, int, Color, Color, Color, Color, Color, Color, Color) - Constructor for class dev.robocode.tankroyale.botapi.BotState
Initializes a new instance of the BotState class.
BOUNDING_CIRCLE_RADIUS - Static variable in class dev.robocode.tankroyale.botapi.Constants
The radius of the bounding circle of the bot, which is a constant of 18 units.
broadcastTeamMessage(Object) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Broadcasts a message to all teammates.

When the message is send, it is serialized into a JSON representation, meaning that all public fields, and only public fields, are being serialized into a JSON representation as a DTO (data transfer object).

The maximum team message size limit is defined by IBaseBot.TEAM_MESSAGE_MAX_SIZE, which is set to 32768 bytes.
broadcastTeamMessage(Object) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Broadcasts a message to all teammates.

When the message is send, it is serialized into a JSON representation, meaning that all public fields, and only public fields, are being serialized into a JSON representation as a DTO (data transfer object).

The maximum team message size limit is defined by IBaseBot.TEAM_MESSAGE_MAX_SIZE, which is set to 32768 bytes.
build() - Method in interface dev.robocode.tankroyale.botapi.BotInfo.IBuilder
Builds and returns the BotInfo instance based on the data set and added to this builder so far.
builder() - Static method in class dev.robocode.tankroyale.botapi.BotInfo
Returns a builder for a convenient way of building a BotInfo object using the builder pattern.

Example of use:
BULLET_FIRED - Static variable in class dev.robocode.tankroyale.botapi.events.DefaultEventPriority
Event priority for the BulletFiredEvent
BULLET_HIT_BOT - Static variable in class dev.robocode.tankroyale.botapi.events.DefaultEventPriority
Event priority for the BulletHitBotEvent
BULLET_HIT_BULLET - Static variable in class dev.robocode.tankroyale.botapi.events.DefaultEventPriority
Event priority for the BulletHitBulletEvent
BULLET_HIT_WALL - Static variable in class dev.robocode.tankroyale.botapi.events.DefaultEventPriority
Event priority for the BulletHitWallEvent
BulletFiredEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring when a bullet has been fired from a bot.
BulletFiredEvent(int, BulletState) - Constructor for class dev.robocode.tankroyale.botapi.events.BulletFiredEvent
Initializes a new instance of the BulletFiredEvent class.
BulletHitBotEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring when a bullet has hit a bot.
BulletHitBotEvent(int, int, BulletState, double, double) - Constructor for class dev.robocode.tankroyale.botapi.events.BulletHitBotEvent
Initializes a new instance of the BulletHitBotEvent class.
BulletHitBulletEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring when a bullet has collided with another bullet.
BulletHitBulletEvent(int, BulletState, BulletState) - Constructor for class dev.robocode.tankroyale.botapi.events.BulletHitBulletEvent
Initializes a new instance of the BulletHitBulletEvent class.
BulletHitWallEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring when a bullet has hit a wall.
BulletHitWallEvent(int, BulletState) - Constructor for class dev.robocode.tankroyale.botapi.events.BulletHitWallEvent
Initializes a new instance of the BulletHitWallEvent class.
BulletState - Class in dev.robocode.tankroyale.botapi
Represents the state of a bullet that has been fired by a bot.
BulletState(int, int, double, double, double, double, Color) - Constructor for class dev.robocode.tankroyale.botapi.BulletState
Initializes a new instance of the BulletState class.

C

calcBearing(double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Calculates the bearing (delta angle) between the input direction and the direction of this bot.
calcBulletSpeed(double) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Calculates the bullet speed given a firepower.
calcBulletSpeed(double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Calculates the bullet speed given a firepower.
calcDeltaAngle(double, double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Calculates the difference between two angles, i.e.
calcGunBearing(double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Calculates the bearing (delta angle) between the input direction and the direction of the gun.
calcGunHeat(double) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Calculates gun heat after having fired the gun.
calcGunHeat(double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Calculates gun heat after having fired the gun.
calcMaxTurnRate(double) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Calculates the maximum turn rate for a specific speed.
calcMaxTurnRate(double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Calculates the maximum turn rate for a specific speed.
calcRadarBearing(double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Calculates the bearing (delta angle) between the input direction and the direction of the radar.
CLASSIC - Static variable in class dev.robocode.tankroyale.botapi.GameType
Classic (standard) battle with a minimum of 2 bots battling each other on an arena size of 800 x 600 units.
clearEvents() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Clears out any pending events in the bot's event queue immediately.
clearEvents() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Clears out any pending events in the bot's event queue immediately.
Code example - Search tag in Overview
Section
Color - Class in dev.robocode.tankroyale.botapi
Color represented in RGB format.
Color(int, int, int) - Constructor for class dev.robocode.tankroyale.botapi.Color
Creates a Color from RGB values.
Condition - Class in dev.robocode.tankroyale.botapi.events
The Condition class is used for testing if a specific condition is met.
Condition() - Constructor for class dev.robocode.tankroyale.botapi.events.Condition
Constructor for initializing a new instance of the Condition class.
Condition(String) - Constructor for class dev.robocode.tankroyale.botapi.events.Condition
Constructor for initializing a new instance of the Condition class.
Condition(String, Callable<Boolean>) - Constructor for class dev.robocode.tankroyale.botapi.events.Condition
Constructor for initializing a new instance of the Condition class.
Condition(Callable<Boolean>) - Constructor for class dev.robocode.tankroyale.botapi.events.Condition
Constructor for initializing a new instance of the Condition class.
ConnectedEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring when bot gets connected to server
ConnectedEvent(URI) - Constructor for class dev.robocode.tankroyale.botapi.events.ConnectedEvent
Initializes a new instance of the ConnectedEvent class.
ConnectionErrorEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring when a connection error occurs.
ConnectionErrorEvent(URI, Throwable) - Constructor for class dev.robocode.tankroyale.botapi.events.ConnectionErrorEvent
Initializes a new instance of the ConnectionErrorEvent class.
Constants - Class in dev.robocode.tankroyale.botapi
Constants.
copy(BotInfo) - Method in interface dev.robocode.tankroyale.botapi.BotInfo.IBuilder
Copies all fields from a BotInfo instance into this builder.
CUSTOM - Static variable in class dev.robocode.tankroyale.botapi.events.DefaultEventPriority
Event priority for the CustomEvent
CustomEvent - Class in dev.robocode.tankroyale.botapi.events
A custom event occurring when a condition has been met.
CustomEvent(int, Condition) - Constructor for class dev.robocode.tankroyale.botapi.events.CustomEvent
Initializes a new instance of the CustomEvent class.
CYAN - Static variable in class dev.robocode.tankroyale.botapi.Color
 

D

DEATH - Static variable in class dev.robocode.tankroyale.botapi.events.DefaultEventPriority
Event priority for the DeathEvent
DeathEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring when your bot has died.
DeathEvent(int) - Constructor for class dev.robocode.tankroyale.botapi.events.DeathEvent
Initializes a new instance of the DeathEvent class.
DECELERATION - Static variable in class dev.robocode.tankroyale.botapi.Constants
Deceleration is the decrease in speed per turn, which subtracts 2 units to the speed per turn when the bot is decreasing its speed moving backward.
DefaultEventPriority - Class in dev.robocode.tankroyale.botapi.events
Default event priorities values.
dev.robocode.tankroyale.botapi - package dev.robocode.tankroyale.botapi
Contains all public classes and interfaces for the Bot API for Robocode Tank Royale.
dev.robocode.tankroyale.botapi.events - package dev.robocode.tankroyale.botapi.events
Contains all event related classes for the Bot API for Robocode Tank Royale.
directionTo(double, double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Calculates the direction (angle) from the bot´s coordinates to a point x,y.
DisconnectedEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring when bot gets disconnected from server.
DisconnectedEvent(URI, boolean, Integer, String) - Constructor for class dev.robocode.tankroyale.botapi.events.DisconnectedEvent
Initializes a new instance of the DisconnectedEvent class.
distanceTo(double, double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Calculates the distance from the bots coordinates to a point x,y.
Droid - Interface in dev.robocode.tankroyale.botapi
Droid interface to turn your bot into a droid bot, which is used as a specialized team bot.

E

equals(Color) - Method in class dev.robocode.tankroyale.botapi.Color
 
equals(Object) - Method in class dev.robocode.tankroyale.botapi.Color
 
equals(Object) - Method in class dev.robocode.tankroyale.botapi.InitialPosition

F

fire(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Fire the gun in the direction as the gun is pointing.
fire(double) - Method in interface dev.robocode.tankroyale.botapi.IBot
Fire the gun in the direction as the gun is pointing.
forward(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Moves the bot forward until it has traveled a specific distance from its current position, or it is moving into an obstacle.
forward(double) - Method in interface dev.robocode.tankroyale.botapi.IBot
Moves the bot forward until it has traveled a specific distance from its current position, or it is moving into an obstacle.
fromFile(String) - Static method in class dev.robocode.tankroyale.botapi.BotInfo
Reads the bot info from a local file on a file system.
The file is assumed to be in JSON format.

See the BotInfo.fromInputStream(java.io.InputStream) to see the required JSON format for the file.
fromHex(String) - Static method in class dev.robocode.tankroyale.botapi.Color
Creates a color from a hex triplet.
fromInputStream(InputStream) - Static method in class dev.robocode.tankroyale.botapi.BotInfo
Reads the bot info from an input stream.
The file is assumed to be in JSON format.

Example file in JSON format:
fromResourceFile(String) - Static method in class dev.robocode.tankroyale.botapi.BotInfo
Reads the bot info from a resource file, e.g.
fromString(String) - Static method in class dev.robocode.tankroyale.botapi.Color
Creates a color from a string.
fromString(String) - Static method in class dev.robocode.tankroyale.botapi.InitialPosition
Creates new instance of the InitialPosition class from a string.
FUCHSIA - Static variable in class dev.robocode.tankroyale.botapi.Color
 

G

GameEndedEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring when game has just ended.
GameEndedEvent(int, BotResults) - Constructor for class dev.robocode.tankroyale.botapi.events.GameEndedEvent
Initializes a new instance of the GameEndedEvent class.
GameSetup - Class in dev.robocode.tankroyale.botapi
Game setup retrieved when game is started.
GameSetup(String, int, int, int, double, int, int, int) - Constructor for class dev.robocode.tankroyale.botapi.GameSetup
 
GameStartedEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring when game has just started.
GameStartedEvent(int, InitialPosition, GameSetup) - Constructor for class dev.robocode.tankroyale.botapi.events.GameStartedEvent
Initializes a new instance of the GameStartedEvent class.
GameType - Class in dev.robocode.tankroyale.botapi
Predefined game types.
getArenaHeight() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Height of the arena measured in units.
getArenaHeight() - Method in class dev.robocode.tankroyale.botapi.GameSetup
Returns the height of the arena measured in units.
getArenaHeight() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Height of the arena measured in units.
getArenaWidth() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Width of the arena measured in units.
getArenaWidth() - Method in class dev.robocode.tankroyale.botapi.GameSetup
Returns the width of the arena measured in units.
getArenaWidth() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Width of the arena measured in units.
getAuthors() - Method in class dev.robocode.tankroyale.botapi.BotInfo
Returns the list of authors of the bot, e.g., "John Doe (johndoe@somewhere.io)".
getBlue() - Method in class dev.robocode.tankroyale.botapi.Color
Returns the blue color component of the color.
getBodyColor() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Returns the color of the body.
getBodyColor() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the color the body.
getBodyColor() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Returns the color of the body.
getBotState() - Method in class dev.robocode.tankroyale.botapi.events.TickEvent
Returns the current state of this bot.
getBullet() - Method in class dev.robocode.tankroyale.botapi.events.BulletFiredEvent
Returns the bullet that was fired.
getBullet() - Method in class dev.robocode.tankroyale.botapi.events.BulletHitBotEvent
Returns the bullet that hit the bot.
getBullet() - Method in class dev.robocode.tankroyale.botapi.events.BulletHitBulletEvent
Returns the bullet that hit another bullet.
getBullet() - Method in class dev.robocode.tankroyale.botapi.events.BulletHitWallEvent
Returns the bullet that has hit a wall.
getBullet() - Method in class dev.robocode.tankroyale.botapi.events.HitByBulletEvent
Returns the bullet that hit your bot.
getBulletColor() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Returns the color of the fired bullets.
getBulletColor() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the color of the bullets when fired.
getBulletColor() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Returns the color of the fired bullets.
getBulletDamage() - Method in class dev.robocode.tankroyale.botapi.BotResults
Returns the bullet damage score.
getBulletId() - Method in class dev.robocode.tankroyale.botapi.BulletState
Returns the unique id of the bullet.
getBulletKillBonus() - Method in class dev.robocode.tankroyale.botapi.BotResults
Returns the bullet kill-bonus.
getBulletStates() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Current bullet states.
getBulletStates() - Method in class dev.robocode.tankroyale.botapi.events.TickEvent
Returns the Current state of the bullets fired by this bot.
getBulletStates() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Current bullet states.
getColor() - Method in class dev.robocode.tankroyale.botapi.BulletState
Returns the color of the bullet.
getCondition() - Method in class dev.robocode.tankroyale.botapi.events.CustomEvent
Returns the condition that was met to trigger this custom event.
getCountryCodes() - Method in class dev.robocode.tankroyale.botapi.BotInfo
Returns a list of country code(s) defined by ISO 3166-1 alpha-2, e.g.
getDamage() - Method in class dev.robocode.tankroyale.botapi.events.BulletHitBotEvent
Returns the damage inflicted by the bullet.
getDamage() - Method in class dev.robocode.tankroyale.botapi.events.HitByBulletEvent
Returns the damage inflicted by the bullet.
getDescription() - Method in class dev.robocode.tankroyale.botapi.BotInfo
Returns a short description of the bot, preferably a one-liner.
This field is optional.
getDirection() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Current driving direction of the bot in degrees.
getDirection() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the driving direction of the bot in degrees.
getDirection() - Method in class dev.robocode.tankroyale.botapi.BulletState
Returns the direction of the bullet in degrees.
getDirection() - Method in class dev.robocode.tankroyale.botapi.events.ScannedBotEvent
Returns the direction in degrees of the scanned bot.
getDirection() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Current driving direction of the bot in degrees.
getDirection() - Method in class dev.robocode.tankroyale.botapi.InitialPosition
Returns the shared direction of the body, gun, and radar;
getDistanceRemaining() - Method in class dev.robocode.tankroyale.botapi.Bot
Returns the distance remaining till the bot has finished moving after having called IBot.setForward(double), IBot.setBack(double), IBot.forward(double), or IBot.back(double).
getDistanceRemaining() - Method in interface dev.robocode.tankroyale.botapi.IBot
Returns the distance remaining till the bot has finished moving after having called IBot.setForward(double), IBot.setBack(double), IBot.forward(double), or IBot.back(double).
getEnemyCount() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Number of enemies left in the round.
getEnemyCount() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the number of enemy bots left on the battlefield.
getEnemyCount() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Number of enemies left in the round.
getEnergy() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Current energy level.
getEnergy() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the energy level of the bot.
getEnergy() - Method in class dev.robocode.tankroyale.botapi.events.BulletHitBotEvent
Returns the remaining energy level of the bot that got hit.
getEnergy() - Method in class dev.robocode.tankroyale.botapi.events.HitBotEvent
Returns the remaining energy level of the victim bot.
getEnergy() - Method in class dev.robocode.tankroyale.botapi.events.HitByBulletEvent
Returns the remaining energy level after the bullet hit.
getEnergy() - Method in class dev.robocode.tankroyale.botapi.events.ScannedBotEvent
Returns the energy level of the scanned bot.
getEnergy() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Current energy level.
getError() - Method in class dev.robocode.tankroyale.botapi.events.ConnectionErrorEvent
Returns the error.
getEventPriority(Class<BotEvent>) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Returns the event priority for a specific event class.
getEventPriority(Class<BotEvent>) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Returns the event priority for a specific event class.
getEvents() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Returns an ordered list containing all events currently in the bot's event queue.
getEvents() - Method in class dev.robocode.tankroyale.botapi.events.TickEvent
Returns the events that occurred for the bot within the turn.
getEvents() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Returns an ordered list containing all events currently in the bot's event queue.
getFirepower() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Returns the firepower.
getFirepower() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Returns the firepower.
getFirstPlaces() - Method in class dev.robocode.tankroyale.botapi.BotResults
Returns the number of 1st places for the bot.
getGameSetup() - Method in class dev.robocode.tankroyale.botapi.events.GameStartedEvent
Returns the game setup for the battle just started.
getGameType() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Game type, e.g.
getGameType() - Method in class dev.robocode.tankroyale.botapi.GameSetup
Returns the game type, e.g.
getGameType() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Game type, e.g.
getGameTypes() - Method in class dev.robocode.tankroyale.botapi.BotInfo
Returns the game type(s) accepted by the bot, e.g., "classic", "melee", "1v1".
getGreen() - Method in class dev.robocode.tankroyale.botapi.Color
Returns the green color component of the color.
getGunColor() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Returns the color of the gun.
getGunColor() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the color of the gun.
getGunColor() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Returns the color of the gun.
getGunCoolingRate() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Gun cooling rate.
getGunCoolingRate() - Method in class dev.robocode.tankroyale.botapi.GameSetup
Returns the gun cooling rate.
getGunCoolingRate() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Gun cooling rate.
getGunDirection() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Current direction of the gun in degrees.
getGunDirection() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the gun direction of the bot in degrees.
getGunDirection() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Current direction of the gun in degrees.
getGunHeat() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Current gun heat.
getGunHeat() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the gun heat.
getGunHeat() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Current gun heat.
getGunTurnRate() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Returns the gun turn rate in degrees per turn.
getGunTurnRate() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the turn rate of the gun in degrees per turn (can be positive and negative).
getGunTurnRate() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Returns the gun turn rate in degrees per turn.
getGunTurnRemaining() - Method in class dev.robocode.tankroyale.botapi.Bot
Returns the remaining turn in degrees till the gun has finished turning after having called IBot.setTurnGunLeft(double), IBot.setTurnGunRight(double), IBot.turnGunLeft(double), or IBot.turnGunRight(double).
getGunTurnRemaining() - Method in interface dev.robocode.tankroyale.botapi.IBot
Returns the remaining turn in degrees till the gun has finished turning after having called IBot.setTurnGunLeft(double), IBot.setTurnGunRight(double), IBot.turnGunLeft(double), or IBot.turnGunRight(double).
getHitBullet() - Method in class dev.robocode.tankroyale.botapi.events.BulletHitBulletEvent
Returns the other bullet that was hit by the bullet.
getHomepage() - Method in class dev.robocode.tankroyale.botapi.BotInfo
Returns the URL of a web page for the bot.
This field is optional.
getInitialPosition() - Method in class dev.robocode.tankroyale.botapi.BotInfo
Returns the initial starting position used for debugging only, which must be enabled at the server.
This field is optional.
getInitialPosition() - Method in class dev.robocode.tankroyale.botapi.events.GameStartedEvent
Returns the start position of the bot.
getLastSurvivorBonus() - Method in class dev.robocode.tankroyale.botapi.BotResults
Returns the last survivor score.
getMaxGunTurnRate() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Returns the maximum gun turn rate in degrees per turn.
getMaxGunTurnRate() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Returns the maximum gun turn rate in degrees per turn.
getMaxInactivityTurns() - Method in class dev.robocode.tankroyale.botapi.BaseBot
The maximum number of inactive turns allowed the bot will become zapped by the game for being inactive.
getMaxInactivityTurns() - Method in class dev.robocode.tankroyale.botapi.GameSetup
Returns the Maximum number of inactive turns allowed, where a bot does not take any action before it is zapped by the game.
getMaxInactivityTurns() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The maximum number of inactive turns allowed the bot will become zapped by the game for being inactive.
getMaxRadarTurnRate() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Returns the maximum radar turn rate in degrees per turn.
getMaxRadarTurnRate() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Returns the maximum radar turn rate in degrees per turn.
getMaxSpeed() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Returns the maximum speed in units per turn.
getMaxSpeed() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Returns the maximum speed in units per turn.
getMaxTurnRate() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Returns the maximum turn rate of the bot in degrees per turn.
getMaxTurnRate() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Returns the maximum turn rate of the bot in degrees per turn.
getMessage() - Method in class dev.robocode.tankroyale.botapi.events.TeamMessageEvent
Returns the message that was received.
getMyId() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Unique id of this bot, which is available when the game has started.
getMyId() - Method in class dev.robocode.tankroyale.botapi.events.GameStartedEvent
Returns the id used for identifying your bot in the current battle.
getMyId() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Unique id of this bot, which is available when the game has started.
getName() - Method in class dev.robocode.tankroyale.botapi.BotInfo
Returns the name, e.g., "MyBot".
getName() - Method in class dev.robocode.tankroyale.botapi.events.Condition
Returns the name of this condition, if a name has been provided for it.
getNumberOfRounds() - Method in class dev.robocode.tankroyale.botapi.BaseBot
The number of rounds in a battle.
getNumberOfRounds() - Method in class dev.robocode.tankroyale.botapi.events.GameEndedEvent
Returns the number of rounds played.
getNumberOfRounds() - Method in class dev.robocode.tankroyale.botapi.GameSetup
Returns the number of rounds in a battle.
getNumberOfRounds() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The number of rounds in a battle.
getOwnerId() - Method in class dev.robocode.tankroyale.botapi.BulletState
Returns the id of the owner bot that fired the bullet.
getPlatform() - Method in class dev.robocode.tankroyale.botapi.BotInfo
Returns the platform used for running the bot, e.g., "Java Runtime Environment (JRE) 11".
This field is optional.
getPower() - Method in class dev.robocode.tankroyale.botapi.BulletState
Returns the bullet firepower level.
getProgrammingLang() - Method in class dev.robocode.tankroyale.botapi.BotInfo
Returns the programming language used for developing the bot, e.g., "Java 11" or "Kotlin 1.7.20".
This field is optional.
getRadarColor() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Returns the color of the radar.
getRadarColor() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the color of the radar.
getRadarColor() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Returns the color of the radar.
getRadarDirection() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Current direction of the radar in degrees.
getRadarDirection() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the radar direction of the bot in degrees.
getRadarDirection() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Current direction of the radar in degrees.
getRadarSweep() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the radar sweep angle in degrees, i.e.
getRadarTurnRate() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Returns the radar turn rate in degrees per turn.
getRadarTurnRate() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the turn rate of the radar in degrees per turn (can be positive and negative).
getRadarTurnRate() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Returns the radar turn rate in degrees per turn.
getRadarTurnRemaining() - Method in class dev.robocode.tankroyale.botapi.Bot
Returns the remaining turn in degrees till the radar has finished turning after having called IBot.setTurnRadarLeft(double), IBot.setTurnRadarRight(double), IBot.turnRadarLeft(double), or IBot.turnRadarRight(double).
getRadarTurnRemaining() - Method in interface dev.robocode.tankroyale.botapi.IBot
Returns the remaining turn in degrees till the radar has finished turning after having called IBot.setTurnRadarLeft(double), IBot.setTurnRadarRight(double), IBot.turnRadarLeft(double), or IBot.turnRadarRight(double).
getRamDamage() - Method in class dev.robocode.tankroyale.botapi.BotResults
Returns the ram damage score.
getRamKillBonus() - Method in class dev.robocode.tankroyale.botapi.BotResults
Returns the ram kill-bonus.
getRank() - Method in class dev.robocode.tankroyale.botapi.BotResults
Returns the rank/placement of the bot, where 1 means 1st place, 4 means 4th place etc.
getReadyTimeout() - Method in class dev.robocode.tankroyale.botapi.GameSetup
Returns the time limit in milliseconds for sending ready message after having received 'new battle' message.
getReason() - Method in class dev.robocode.tankroyale.botapi.events.DisconnectedEvent
Returns a message with the reason for closing the connection, if such reason exists.
getRed() - Method in class dev.robocode.tankroyale.botapi.Color
Returns the red color component of the color.
getResults() - Method in class dev.robocode.tankroyale.botapi.events.GameEndedEvent
Returns the results of the battle.
getResults() - Method in class dev.robocode.tankroyale.botapi.events.RoundEndedEvent
Returns the accumulated bot results at the end of the round.
getRoundNumber() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Current round number.
getRoundNumber() - Method in class dev.robocode.tankroyale.botapi.events.RoundEndedEvent
Returns the round number.
getRoundNumber() - Method in class dev.robocode.tankroyale.botapi.events.RoundStartedEvent
Returns the round number.
getRoundNumber() - Method in class dev.robocode.tankroyale.botapi.events.TickEvent
Returns the current round number.
getRoundNumber() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Current round number.
getScanColor() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Returns the color of the scan arc.
getScanColor() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the color of the scan arc.
getScanColor() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Returns the color of the scan arc.
getScannedBotId() - Method in class dev.robocode.tankroyale.botapi.events.ScannedBotEvent
Returns the id of the bot that was scanned.
getScannedByBotId() - Method in class dev.robocode.tankroyale.botapi.events.ScannedBotEvent
Returns the id of the bot did the scanning.
getSecondPlaces() - Method in class dev.robocode.tankroyale.botapi.BotResults
Returns the number of 2nd places for the bot.
getSenderId() - Method in class dev.robocode.tankroyale.botapi.events.TeamMessageEvent
Returns the ID of the teammate that sent the message.
getServerUri() - Method in class dev.robocode.tankroyale.botapi.events.ConnectedEvent
Return the URI of the server.
getServerUri() - Method in class dev.robocode.tankroyale.botapi.events.ConnectionErrorEvent
Return the URI of the server.
getServerUri() - Method in class dev.robocode.tankroyale.botapi.events.DisconnectedEvent
Return the URI of the server.
getSpeed() - Method in class dev.robocode.tankroyale.botapi.BaseBot
The current speed measured in units per turn.
getSpeed() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the speed measured in units per turn.
getSpeed() - Method in class dev.robocode.tankroyale.botapi.BulletState
Returns the speed of the bullet measured in units per turn.
getSpeed() - Method in class dev.robocode.tankroyale.botapi.events.ScannedBotEvent
Returns the Speed measured in units per turn of the scanned bot.
getSpeed() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The current speed measured in units per turn.
getStatusCode() - Method in class dev.robocode.tankroyale.botapi.events.DisconnectedEvent
Returns a status code that indicates the reason for closing the connection, if such status code exists.
getSurvival() - Method in class dev.robocode.tankroyale.botapi.BotResults
Returns the accumulated survival score.
getTargetSpeed() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Returns the target speed in units per turn.
getTargetSpeed() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Returns the target speed in units per turn.
getTeammateIds() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Returns the ids of all teammates.
getTeammateIds() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Returns the ids of all teammates.
getThirdPlaces() - Method in class dev.robocode.tankroyale.botapi.BotResults
Returns the number of 3rd places for the bot.
getTimeLeft() - Method in class dev.robocode.tankroyale.botapi.BaseBot
The number of microseconds left of this turn before the bot will skip the turn.
getTimeLeft() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The number of microseconds left of this turn before the bot will skip the turn.
getTotalScore() - Method in class dev.robocode.tankroyale.botapi.BotResults
Returns the total score is the sum of all scores and determines the ranking.
getTracksColor() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Returns the color of the tracks.
getTracksColor() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the color of the tracks.
getTracksColor() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Returns the color of the tracks.
getTurnNumber() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Current turn number.
getTurnNumber() - Method in class dev.robocode.tankroyale.botapi.events.BotEvent
Returns the turn number when the event occurred.
getTurnNumber() - Method in class dev.robocode.tankroyale.botapi.events.RoundEndedEvent
Returns the turn number.
getTurnNumber() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Current turn number.
getTurnRate() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Returns the turn rate of the bot in degrees per turn.
getTurnRate() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the turn rate of the body in degrees per turn (can be positive and negative).
getTurnRate() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Returns the turn rate of the bot in degrees per turn.
getTurnRemaining() - Method in class dev.robocode.tankroyale.botapi.Bot
Returns the remaining turn in degrees till the bot has finished turning after having called IBot.setTurnLeft(double), IBot.setTurnRight(double), IBot.turnLeft(double), or IBot.turnRight(double).
getTurnRemaining() - Method in interface dev.robocode.tankroyale.botapi.IBot
Returns the remaining turn in degrees till the bot has finished turning after having called IBot.setTurnLeft(double), IBot.setTurnRight(double), IBot.turnLeft(double), or IBot.turnRight(double).
getTurnTimeout() - Method in class dev.robocode.tankroyale.botapi.BaseBot
The turn timeout is important as the bot needs to take action by calling IBaseBot.go() before the turn timeout occurs.
getTurnTimeout() - Method in class dev.robocode.tankroyale.botapi.GameSetup
Returns the timeout in milliseconds for sending intent after having received 'tick' message.
getTurnTimeout() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The turn timeout is important as the bot needs to take action by calling IBaseBot.go() before the turn timeout occurs.
getTurretColor() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Returns the color of the gun turret.
getTurretColor() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the color of the gun turret.
getTurretColor() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Returns the color of the gun turret.
getVariant() - Method in class dev.robocode.tankroyale.botapi.BaseBot
The game variant, which is "Tank Royale".
getVariant() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The game variant, which is "Tank Royale".
getVersion() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Game version, e.g.
getVersion() - Method in class dev.robocode.tankroyale.botapi.BotInfo
Returns the version, e.g., "1.0".
getVersion() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Game version, e.g.
getVictimId() - Method in class dev.robocode.tankroyale.botapi.events.BotDeathEvent
Returns the id of the bot that has died.
getVictimId() - Method in class dev.robocode.tankroyale.botapi.events.BulletHitBotEvent
Returns the id of the victim bot that got hit.
getVictimId() - Method in class dev.robocode.tankroyale.botapi.events.HitBotEvent
Returns the id of the other bot that your bot has collided with.
getX() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Current X coordinate of the center of the bot.
getX() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the X coordinate of the bot, which is in the center of the bot.
getX() - Method in class dev.robocode.tankroyale.botapi.BulletState
Returns the X coordinate of the bullet.
getX() - Method in class dev.robocode.tankroyale.botapi.events.HitBotEvent
Returns the X coordinate of victim bot.
getX() - Method in class dev.robocode.tankroyale.botapi.events.ScannedBotEvent
Returns the X coordinate of the scanned bot.
getX() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Current X coordinate of the center of the bot.
getX() - Method in class dev.robocode.tankroyale.botapi.InitialPosition
Returns the x coordinate;
getY() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Current Y coordinate of the center of the bot.
getY() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the Y coordinate of the bot, which is in the center of the bot.
getY() - Method in class dev.robocode.tankroyale.botapi.BulletState
Returns the Y coordinate of the bullet.
getY() - Method in class dev.robocode.tankroyale.botapi.events.HitBotEvent
Returns the Y coordinate of victim bot.
getY() - Method in class dev.robocode.tankroyale.botapi.events.ScannedBotEvent
Returns the Y coordinate of the scanned bot.
getY() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Current Y coordinate of the center of the bot.
getY() - Method in class dev.robocode.tankroyale.botapi.InitialPosition
Returns the y coordinate;
go() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Commits the current commands (actions), which finalizes the current turn for the bot.
go() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Commits the current commands (actions), which finalizes the current turn for the bot.
GRAY - Static variable in class dev.robocode.tankroyale.botapi.Color
 
GREEN - Static variable in class dev.robocode.tankroyale.botapi.Color
 
gunBearingTo(double, double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Calculates the bearing (delta angle) between the current direction of the bot´s gun and the direction to the point x,y.

H

hashCode() - Method in class dev.robocode.tankroyale.botapi.Color
 
hashCode() - Method in class dev.robocode.tankroyale.botapi.InitialPosition
HIT_BOT - Static variable in class dev.robocode.tankroyale.botapi.events.DefaultEventPriority
Event priority for the HitBotEvent
HIT_BY_BULLET - Static variable in class dev.robocode.tankroyale.botapi.events.DefaultEventPriority
Event priority for the HitByBulletEvent
HIT_WALL - Static variable in class dev.robocode.tankroyale.botapi.events.DefaultEventPriority
Event priority for the HitWallEvent
HitBotEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring when a bot has collided with another bot.
HitBotEvent(int, int, double, double, double, boolean) - Constructor for class dev.robocode.tankroyale.botapi.events.HitBotEvent
Initializes a new instance of the BotHitBotEvent class.
HitByBulletEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring when a bullet has hit your bot.
HitByBulletEvent(int, BulletState, double, double) - Constructor for class dev.robocode.tankroyale.botapi.events.HitByBulletEvent
Initializes a new instance of the HitByBulletEvent class.
HitWallEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring when your bot has hit a wall.
HitWallEvent(int) - Constructor for class dev.robocode.tankroyale.botapi.events.HitWallEvent
Initializes a new instance of the BotHitWallEvent class.

I

IBaseBot - Interface in dev.robocode.tankroyale.botapi
Interface containing the core API for a bot.
IBot - Interface in dev.robocode.tankroyale.botapi
Interface for a bot that extends the core API with convenient methods for movement, turning, and firing the gun.
IEvent - Interface in dev.robocode.tankroyale.botapi.events
Interface for an event.
InitialPosition - Class in dev.robocode.tankroyale.botapi
Initial starting position containing a start coordinate (x,y) and the shared direction of the body, gun, and radar.
InitialPosition(Double, Double, Double) - Constructor for class dev.robocode.tankroyale.botapi.InitialPosition
Initializes a new instance of the InitialPosition class.
isAdjustGunForBodyTurn() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Checks if the gun is set to adjust for the bot turning, i.e.
isAdjustGunForBodyTurn() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Checks if the gun is set to adjust for the bot turning, i.e.
isAdjustRadarForBodyTurn() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Checks if the radar is set to adjust for the body turning, i.e.
isAdjustRadarForBodyTurn() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Checks if the radar is set to adjust for the body turning, i.e.
isAdjustRadarForGunTurn() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Checks if the radar is set to adjust for the gun turning, i.e.
isAdjustRadarForGunTurn() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Checks if the radar is set to adjust for the gun turning, i.e.
isCritical() - Method in class dev.robocode.tankroyale.botapi.events.BotEvent
Indicates if this event is critical, and hence should not be removed from event queue when it gets old.
isCritical() - Method in class dev.robocode.tankroyale.botapi.events.DeathEvent
Indicates if this event is critical, and hence should not be removed from event queue when it gets old.
isCritical() - Method in class dev.robocode.tankroyale.botapi.events.SkippedTurnEvent
Indicates if this event is critical, and hence should not be removed from event queue when it gets old.
isCritical() - Method in class dev.robocode.tankroyale.botapi.events.WonRoundEvent
Indicates if this event is critical, and hence should not be removed from event queue when it gets old.
isDisabled() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Specifies if the bot is disabled, i.e., when the energy is zero.
isDisabled() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Specifies if the bot is disabled, i.e., when the energy is zero.
isDroid() - Method in class dev.robocode.tankroyale.botapi.BotState
Returns the flag specifying if the bot is a droid or not.
isRammed() - Method in class dev.robocode.tankroyale.botapi.events.HitBotEvent
Checks if the other bot got rammed by your bot.
isRemote() - Method in class dev.robocode.tankroyale.botapi.events.DisconnectedEvent
Checks if closing the connection was initiated by the remote host.
isRunning() - Method in class dev.robocode.tankroyale.botapi.Bot
Checks if this bot is running.
isRunning() - Method in interface dev.robocode.tankroyale.botapi.IBot
Checks if this bot is running.
isStopped() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Checks if the movement has been stopped.
isStopped() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Checks if the movement has been stopped.
isTeammate(int) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Checks if the provided bot id is a teammate or not.
isTeammate(int) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Checks if the provided bot id is a teammate or not.

J

JSON config file - Search tag in Overview
Section

L

LIME - Static variable in class dev.robocode.tankroyale.botapi.Color
 

M

MAROON - Static variable in class dev.robocode.tankroyale.botapi.Color
 
MAX_AUTHOR_LENGTH - Static variable in class dev.robocode.tankroyale.botapi.BotInfo
Maximum number of characters accepted for an author name.
MAX_BULLET_SPEED - Static variable in class dev.robocode.tankroyale.botapi.Constants
The maximum bullet speed is 19.7 units per turn.
MAX_DESCRIPTION_LENGTH - Static variable in class dev.robocode.tankroyale.botapi.BotInfo
Maximum number of characters accepted for the description.
MAX_FIREPOWER - Static variable in class dev.robocode.tankroyale.botapi.Constants
The maximum firepower, which is 3.
MAX_GAME_TYPE_LENGTH - Static variable in class dev.robocode.tankroyale.botapi.BotInfo
Maximum number of characters accepted for a game type.
MAX_GUN_TURN_RATE - Static variable in class dev.robocode.tankroyale.botapi.Constants
The maximum gun turn rate, which is a constant of 20 degrees per turn.
MAX_HOMEPAGE_LENGTH - Static variable in class dev.robocode.tankroyale.botapi.BotInfo
Maximum number of characters accepted for the link to the homepage.
MAX_NAME_LENGTH - Static variable in class dev.robocode.tankroyale.botapi.BotInfo
Maximum number of characters accepted for the name.
MAX_NUMBER_OF_AUTHORS - Static variable in class dev.robocode.tankroyale.botapi.BotInfo
Maximum number of authors accepted.
MAX_NUMBER_OF_COUNTRY_CODES - Static variable in class dev.robocode.tankroyale.botapi.BotInfo
Maximum number of country codes accepted.
MAX_NUMBER_OF_GAME_TYPES - Static variable in class dev.robocode.tankroyale.botapi.BotInfo
Maximum number of game types accepted.
MAX_NUMBER_OF_TEAM_MESSAGES_PER_TURN - Static variable in interface dev.robocode.tankroyale.botapi.IBaseBot
The maximum number of team messages that can be sent per turn, which is 10 messages.
MAX_PLATFORM_LENGTH - Static variable in class dev.robocode.tankroyale.botapi.BotInfo
Maximum number of characters accepted for the platform name.
MAX_PROGRAMMING_LANG_LENGTH - Static variable in class dev.robocode.tankroyale.botapi.BotInfo
Maximum number of characters accepted for the programming language name.
MAX_RADAR_TURN_RATE - Static variable in class dev.robocode.tankroyale.botapi.Constants
The maximum radar turn rate, which is a constant of 45 degrees per turn.
MAX_SPEED - Static variable in class dev.robocode.tankroyale.botapi.Constants
The maximum absolute speed, which is 8 units per turn.
MAX_TURN_RATE - Static variable in class dev.robocode.tankroyale.botapi.Constants
The maximum possible driving turn rate, which is max.
MAX_VERSION_LENGTH - Static variable in class dev.robocode.tankroyale.botapi.BotInfo
Maximum number of characters accepted for the version.
MELEE - Static variable in class dev.robocode.tankroyale.botapi.GameType
Melee battle with a minimum of 10 bots battling each other on an arena of 1000 x 1000 units.
MIN_BULLET_SPEED - Static variable in class dev.robocode.tankroyale.botapi.Constants
The minimum bullet speed is 11 units per turn.
MIN_FIREPOWER - Static variable in class dev.robocode.tankroyale.botapi.Constants
The minimum firepower, which is 0.1.

N

NAVY - Static variable in class dev.robocode.tankroyale.botapi.Color
 
NextTurnCondition - Class in dev.robocode.tankroyale.botapi.events
Prebuilt condition that can be used for waiting for the next turn.
NextTurnCondition(IBaseBot) - Constructor for class dev.robocode.tankroyale.botapi.events.NextTurnCondition
Constructor for initializing a new instance of the NextTurnCondition class.
normalizeAbsoluteAngle(double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Normalizes an angle to an absolute angle into the range [0,360[
normalizeRelativeAngle(double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Normalizes an angle to a relative angle into the range [-180,180[

O

OLIVE - Static variable in class dev.robocode.tankroyale.botapi.Color
 
onBotDeath(BotDeathEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when another bot has died.
onBulletFired(BulletFiredEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when the bot has fired a bullet.
onBulletHit(BulletHitBotEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when the bot has hit another bot with a bullet.
onBulletHitBullet(BulletHitBulletEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when a bullet fired from the bot has collided with another bullet.
onBulletHitWall(BulletHitWallEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when a bullet has hit a wall.
onConnected(ConnectedEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when connected to the server.
onConnectionError(ConnectionErrorEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when a connection error occurs.
onCustomEvent(CustomEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when some condition has been met.
onDeath(DeathEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when this bot has died.
onDisconnected(DisconnectedEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when disconnected from the server.
ONE_VS_ONE - Static variable in class dev.robocode.tankroyale.botapi.GameType
One versus one (1-vs-1) battle between exactly two bots alone on an arena of 1000 x 1000 units.
onGameEnded(GameEndedEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when a game has ended.
onGameStarted(GameStartedEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when a game has started.
onHitBot(HitBotEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when the bot has collided with another bot.
onHitByBullet(HitByBulletEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when the bot has been hit by a bullet.
onHitWall(HitWallEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when the bot has hit a wall.
onRoundEnded(RoundEndedEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when a round has ended.
onRoundStarted(RoundStartedEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when a new round has started.
onScannedBot(ScannedBotEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when the bot has skipped a turn.
onSkippedTurn(SkippedTurnEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when the bot has skipped a turn.
onTeamMessage(TeamMessageEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when the bot has received a message from a teammate.
onTick(TickEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when a game tick event occurs, i.e., when a new turn in a round has started.
onWonRound(WonRoundEvent) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The event handler triggered when the bot has won a round.
ORANGE - Static variable in class dev.robocode.tankroyale.botapi.Color
 
Overview - Search tag in Overview
Section

P

PURPLE - Static variable in class dev.robocode.tankroyale.botapi.Color
 

R

radarBearingTo(double, double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Calculates the bearing (delta angle) between the current direction of the bot´s radar and the direction to the point x,y.
RED - Static variable in class dev.robocode.tankroyale.botapi.Color
 
removeCustomEvent(Condition) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Removes triggering a custom event handler for a specific condition that was previously added with IBaseBot.addCustomEvent(dev.robocode.tankroyale.botapi.events.Condition).
removeCustomEvent(Condition) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Removes triggering a custom event handler for a specific condition that was previously added with IBaseBot.addCustomEvent(dev.robocode.tankroyale.botapi.events.Condition).
rescan() - Method in class dev.robocode.tankroyale.botapi.Bot
Scan (again) with the radar.
rescan() - Method in interface dev.robocode.tankroyale.botapi.IBot
Scan (again) with the radar.
resume() - Method in class dev.robocode.tankroyale.botapi.Bot
Resume the movement prior to calling the IBaseBot.setStop() or IBot.stop() method.
resume() - Method in interface dev.robocode.tankroyale.botapi.IBot
Resume the movement prior to calling the IBaseBot.setStop() or IBot.stop() method.
RoundEndedEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring when a round has just ended.
RoundEndedEvent(int, int, BotResults) - Constructor for class dev.robocode.tankroyale.botapi.events.RoundEndedEvent
Initializes a new instance of the RoundEndedEvent class.
RoundStartedEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring when a new round has just started.
RoundStartedEvent(int) - Constructor for class dev.robocode.tankroyale.botapi.events.RoundStartedEvent
Initializes a new instance of the RoundStartedEvent class.
run() - Method in interface dev.robocode.tankroyale.botapi.IBot
The run() method is used for running a program for the bot like:

S

SCAN_RADIUS - Static variable in class dev.robocode.tankroyale.botapi.Constants
The radius of the radar's scan beam, which is a constant of 1200 units.
SCANNED_BOT - Static variable in class dev.robocode.tankroyale.botapi.events.DefaultEventPriority
Event priority for the ScannedBotEvent
ScannedBotEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring when a bot has scanned another bot.
ScannedBotEvent(int, int, int, double, double, double, double, double) - Constructor for class dev.robocode.tankroyale.botapi.events.ScannedBotEvent
Initializes a new instance of the ScannedBotEvent class.
sendTeamMessage(int, Object) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sends a message to a specific teammate.

When the message is send, it is serialized into a JSON representation, meaning that all public fields, and only public fields, are being serialized into a JSON representation as a DTO (data transfer object).

The maximum team message size limit is defined by IBaseBot.TEAM_MESSAGE_MAX_SIZE, which is set to 32768 bytes.
sendTeamMessage(int, Object) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sends a message to a specific teammate.

When the message is send, it is serialized into a JSON representation, meaning that all public fields, and only public fields, are being serialized into a JSON representation as a DTO (data transfer object).

The maximum team message size limit is defined by IBaseBot.TEAM_MESSAGE_MAX_SIZE, which is set to 32768 bytes.
setAdjustGunForBodyTurn(boolean) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the gun to adjust for the bot´s turn when setting the gun turn rate.
setAdjustGunForBodyTurn(boolean) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the gun to adjust for the bot´s turn when setting the gun turn rate.
setAdjustRadarForBodyTurn(boolean) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the radar to adjust for the body's turn when setting the radar turn rate.
setAdjustRadarForBodyTurn(boolean) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the radar to adjust for the body's turn when setting the radar turn rate.
setAdjustRadarForGunTurn(boolean) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the radar to adjust for the gun's turn when setting the radar turn rate.
setAdjustRadarForGunTurn(boolean) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the radar to adjust for the gun's turn when setting the radar turn rate.
setAuthors(List<String>) - Method in interface dev.robocode.tankroyale.botapi.BotInfo.IBuilder
Sets the names(s) of the author(s) of the bot.
setBack(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Set the bot to move backward until it has traveled a specific distance from its current position, or it is moving into an obstacle.
setBack(double) - Method in interface dev.robocode.tankroyale.botapi.IBot
Set the bot to move backward until it has traveled a specific distance from its current position, or it is moving into an obstacle.
setBodyColor(Color) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the color of the body.
setBodyColor(Color) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the color of the body.
setBulletColor(Color) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the color of the fired bullets.
setBulletColor(Color) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the color of the fired bullets.
setCountryCodes(List<String>) - Method in interface dev.robocode.tankroyale.botapi.BotInfo.IBuilder
Sets the country codes for the bot.
setDescription(String) - Method in interface dev.robocode.tankroyale.botapi.BotInfo.IBuilder
Sets a short description of the bot.
setEventPriority(Class<BotEvent>, int) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Changes the event priority for an event class.
setEventPriority(Class<BotEvent>, int) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Changes the event priority for an event class.
setFire(double) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the gun to fire in the direction that the gun is pointing with the specified firepower.
setFire(double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the gun to fire in the direction that the gun is pointing with the specified firepower.
setFireAssist(boolean) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Enables or disables fire assistance explicitly.
setFireAssist(boolean) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Enables or disables fire assistance explicitly.
setForward(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Set the bot to move forward until it has traveled a specific distance from its current position, or it is moving into an obstacle.
setForward(double) - Method in interface dev.robocode.tankroyale.botapi.IBot
Set the bot to move forward until it has traveled a specific distance from its current position, or it is moving into an obstacle.
setGameTypes(Set<String>) - Method in interface dev.robocode.tankroyale.botapi.BotInfo.IBuilder
Sets the game types that this bot is capable of participating in.
setGunColor(Color) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the color of the gun.
setGunColor(Color) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the color of the gun.
setGunTurnRate(double) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the turn rate of the gun, which can be positive and negative.
setGunTurnRate(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Sets the turn rate of the gun, which can be positive and negative.
setGunTurnRate(double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the turn rate of the gun, which can be positive and negative.
setHomepage(String) - Method in interface dev.robocode.tankroyale.botapi.BotInfo.IBuilder
Sets a link to the homepage for the bot.
setInitialPosition(InitialPosition) - Method in interface dev.robocode.tankroyale.botapi.BotInfo.IBuilder
Sets the initial position of this bot.
setInterruptible(boolean) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Call this method during an event handler to control continuing or restarting the event handler, when a new event occurs again for the same event handler while processing an earlier event.
setInterruptible(boolean) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Call this method during an event handler to control continuing or restarting the event handler, when a new event occurs again for the same event handler while processing an earlier event.
setMaxGunTurnRate(double) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the maximum turn rate which applies to turn the gun to the left or right.
setMaxGunTurnRate(double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the maximum turn rate which applies to turn the gun to the left or right.
setMaxRadarTurnRate(double) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the maximum turn rate which applies to turn the radar to the left or right.
setMaxRadarTurnRate(double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the maximum turn rate which applies to turn the radar to the left or right.
setMaxSpeed(double) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the maximum speed which applies when moving forward and backward.
setMaxSpeed(double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the maximum speed which applies when moving forward and backward.
setMaxTurnRate(double) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the maximum turn rate which applies to turn the bot to the left or right.
setMaxTurnRate(double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the maximum turn rate which applies to turn the bot to the left or right.
setName(String) - Method in interface dev.robocode.tankroyale.botapi.BotInfo.IBuilder
Sets the bot name.
setPlatform(String) - Method in interface dev.robocode.tankroyale.botapi.BotInfo.IBuilder
Sets the name of the platform that this bot is build for.
setProgrammingLang(String) - Method in interface dev.robocode.tankroyale.botapi.BotInfo.IBuilder
Sets the name of the programming language used for developing this bot.
setRadarColor(Color) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the color of the radar.
setRadarColor(Color) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the color of the radar.
setRadarTurnRate(double) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the turn rate of the radar, which can be positive and negative.
setRadarTurnRate(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Sets the turn rate of the radar, which can be positive and negative.
setRadarTurnRate(double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the turn rate of the radar, which can be positive and negative.
setRescan() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the bot to rescan with the radar.
setRescan() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the bot to rescan with the radar.
setResume() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the bot to scan (again) with the radar.
setResume() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the bot to scan (again) with the radar.
setScanColor(Color) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the color of the scan arc.
setScanColor(Color) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the color of the scan arc.
setStop() - Method in class dev.robocode.tankroyale.botapi.BaseBot
Set the bot to stop all movement including turning the gun and radar.
setStop() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Set the bot to stop all movement including turning the gun and radar.
setStop(boolean) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Set the bot to stop all movement including turning the gun and radar.
setStop(boolean) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Set the bot to stop all movement including turning the gun and radar.
setTargetSpeed(double) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the new target speed for the bot in units per turn.
setTargetSpeed(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Sets the new target speed for the bot in units per turn.
setTargetSpeed(double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the new target speed for the bot in units per turn.
setTracksColor(Color) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the color of the tracks.
setTracksColor(Color) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the color of the tracks.
setTurnGunLeft(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Set the gun to turn to the left (following the increasing degrees of the unit circle) until it turned the specified amount of degrees.
setTurnGunLeft(double) - Method in interface dev.robocode.tankroyale.botapi.IBot
Set the gun to turn to the left (following the increasing degrees of the unit circle) until it turned the specified amount of degrees.
setTurnGunRight(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Set the gun to turn to the right (following the decreasing degrees of the unit circle) until it turned the specified amount of degrees.
setTurnGunRight(double) - Method in interface dev.robocode.tankroyale.botapi.IBot
Set the gun to turn to the right (following the decreasing degrees of the unit circle) until it turned the specified amount of degrees.
setTurnLeft(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Set the bot to turn to the left (following the increasing degrees of the unit circle) until it turned the specified amount of degrees.
setTurnLeft(double) - Method in interface dev.robocode.tankroyale.botapi.IBot
Set the bot to turn to the left (following the increasing degrees of the unit circle) until it turned the specified amount of degrees.
setTurnRadarLeft(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Set the radar to turn to the left (following the increasing degrees of the unit circle) until it turned the specified amount of degrees.
setTurnRadarLeft(double) - Method in interface dev.robocode.tankroyale.botapi.IBot
Set the radar to turn to the left (following the increasing degrees of the unit circle) until it turned the specified amount of degrees.
setTurnRadarRight(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Set the radar to turn to the right (following the decreasing degrees of the unit circle) until it turned the specified amount of degrees.
setTurnRadarRight(double) - Method in interface dev.robocode.tankroyale.botapi.IBot
Set the radar to turn to the right (following the decreasing degrees of the unit circle) until it turned the specified amount of degrees.
setTurnRate(double) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the turn rate of the bot, which can be positive and negative.
setTurnRate(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Sets the turn rate of the bot, which can be positive and negative.
setTurnRate(double) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the turn rate of the bot, which can be positive and negative.
setTurnRight(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Set the bot to turn to the right (following the decreasing degrees of the unit circle) until it turned the specified amount of degrees.
setTurnRight(double) - Method in interface dev.robocode.tankroyale.botapi.IBot
Set the bot to turn to the right (following the decreasing degrees of the unit circle) until it turned the specified amount of degrees.
setTurretColor(Color) - Method in class dev.robocode.tankroyale.botapi.BaseBot
Sets the color of the gun turret.
setTurretColor(Color) - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
Sets the color of the gun turret.
setVersion(String) - Method in interface dev.robocode.tankroyale.botapi.BotInfo.IBuilder
Sets the bot version.
SILVER - Static variable in class dev.robocode.tankroyale.botapi.Color
 
SKIPPED_TURN - Static variable in class dev.robocode.tankroyale.botapi.events.DefaultEventPriority
Event priority for the SkippedTurnEvent
SkippedTurnEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring when the bot has skipped a turn, meaning that no intent has reached the server for a specific turn.
SkippedTurnEvent(int) - Constructor for class dev.robocode.tankroyale.botapi.events.SkippedTurnEvent
Initializes a new instance of the SkippedTurnEvent class.
start() - Method in class dev.robocode.tankroyale.botapi.BaseBot
The method used to start running the bot.
start() - Method in interface dev.robocode.tankroyale.botapi.IBaseBot
The method used to start running the bot.
stop() - Method in class dev.robocode.tankroyale.botapi.Bot
Stop all movement including turning the gun and radar.
stop() - Method in interface dev.robocode.tankroyale.botapi.IBot
Stop all movement including turning the gun and radar.
stop(boolean) - Method in class dev.robocode.tankroyale.botapi.Bot
Stop all movement including turning the gun and radar.
stop(boolean) - Method in interface dev.robocode.tankroyale.botapi.IBot
Stop all movement including turning the gun and radar.

T

TEAL - Static variable in class dev.robocode.tankroyale.botapi.Color
 
TEAM_MESSAGE - Static variable in class dev.robocode.tankroyale.botapi.events.DefaultEventPriority
Event priority for the TeamMessageEvent.
TEAM_MESSAGE_MAX_SIZE - Static variable in interface dev.robocode.tankroyale.botapi.IBaseBot
The maximum size of a team message, which is 32 KB (32.786 bytes).
TeamMessageEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring when a bot has received a message from a teammate.
TeamMessageEvent(int, Object, int) - Constructor for class dev.robocode.tankroyale.botapi.events.TeamMessageEvent
Initializes a new instance of the TeamMessageEvent class.
test() - Method in class dev.robocode.tankroyale.botapi.events.Condition
You can choose to override this method to let the game use it for testing your condition each turn.
test() - Method in class dev.robocode.tankroyale.botapi.events.NextTurnCondition
This method tests if the turn number has changed since we created this condition.
The bot classes - Search tag in Overview
Section
TICK - Static variable in class dev.robocode.tankroyale.botapi.events.DefaultEventPriority
Event priority for the TickEvent
TickEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring whenever a new turn in a round has started.
TickEvent(int, int, BotState, Collection<BulletState>, Collection<BotEvent>) - Constructor for class dev.robocode.tankroyale.botapi.events.TickEvent
Initializes a new instance of the TickEvent class.
toHex() - Method in class dev.robocode.tankroyale.botapi.Color
Returns the color as a hex triplet of six hexadecimal digits representing an RGB color, e.g.
toString() - Method in class dev.robocode.tankroyale.botapi.Color
 
toString() - Method in class dev.robocode.tankroyale.botapi.InitialPosition
turnGunLeft(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Turn the gun to the left (following the increasing degrees of the unit circle) until it turned the specified amount of degrees.
turnGunLeft(double) - Method in interface dev.robocode.tankroyale.botapi.IBot
Turn the gun to the left (following the increasing degrees of the unit circle) until it turned the specified amount of degrees.
turnGunRight(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Turn the gun to the right (following the decreasing degrees of the unit circle) until it turned the specified amount of degrees.
turnGunRight(double) - Method in interface dev.robocode.tankroyale.botapi.IBot
Turn the gun to the right (following the decreasing degrees of the unit circle) until it turned the specified amount of degrees.
turnLeft(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Turn the bot to the left (following the increasing degrees of the unit circle) until it turned the specified amount of degrees.
turnLeft(double) - Method in interface dev.robocode.tankroyale.botapi.IBot
Turn the bot to the left (following the increasing degrees of the unit circle) until it turned the specified amount of degrees.
turnRadarLeft(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Turn the radar to the left (following the increasing degrees of the unit circle) until it turned the specified amount of degrees.
turnRadarLeft(double) - Method in interface dev.robocode.tankroyale.botapi.IBot
Turn the radar to the left (following the increasing degrees of the unit circle) until it turned the specified amount of degrees.
turnRadarRight(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Turn the radar to the right (following the increasing degrees of the unit circle) until it turned the specified amount of degrees.
turnRadarRight(double) - Method in interface dev.robocode.tankroyale.botapi.IBot
Turn the radar to the right (following the increasing degrees of the unit circle) until it turned the specified amount of degrees.
turnRight(double) - Method in class dev.robocode.tankroyale.botapi.Bot
Turn the bot to the right (following the increasing degrees of the unit circle) until it turned the specified amount of degrees.
turnRight(double) - Method in interface dev.robocode.tankroyale.botapi.IBot
Turn the bot to the right (following the increasing degrees of the unit circle) until it turned the specified amount of degrees.

W

waitFor(Condition) - Method in class dev.robocode.tankroyale.botapi.Bot
Blocks until a condition is met, i.e.
waitFor(Condition) - Method in interface dev.robocode.tankroyale.botapi.IBot
Blocks until a condition is met, i.e.
WHITE - Static variable in class dev.robocode.tankroyale.botapi.Color
 
WON_ROUND - Static variable in class dev.robocode.tankroyale.botapi.events.DefaultEventPriority
Event priority for the WonRoundEvent
WonRoundEvent - Class in dev.robocode.tankroyale.botapi.events
Event occurring when a bot has won the round.
WonRoundEvent(int) - Constructor for class dev.robocode.tankroyale.botapi.events.WonRoundEvent
Initializes a new instance of the WonRoundEvent class.

Y

YELLOW - Static variable in class dev.robocode.tankroyale.botapi.Color
 
A B C D E F G H I J L M N O P R S T W Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form