A B C D E F G H I L M N O R S T V W X Y 

A

add(Direction) - Method in class battlecode.common.MapLocation
Returns a new MapLocation object representing a location one square from this one in the given direction.
add(Direction, int) - Method in class battlecode.common.MapLocation
Returns a new MapLocation object representing a location multiple squares from this one in the given direction.
add(int, int) - Method in class battlecode.common.MapLocation
Returns a new MapLocation object translated from this location by a fixed amount
addMatchObservation(String) - Method in interface battlecode.common.RobotController
Adds a custom observation to the match file, such that when it is analyzed, this observation will appear.
attackDelay - Variable in enum battlecode.common.RobotType
Attack delay: the amount of contribution to weapon delay from an attack.
attackLocation(MapLocation) - Method in interface battlecode.common.RobotController
Queues an attack on the given location to be performed at the end of this turn.
attackPower - Variable in enum battlecode.common.RobotType
Base damage per attack.
attackRadiusSquared - Variable in enum battlecode.common.RobotType
Range^2 for an attack.

B

BASH_RADIUS_SQUARED - Static variable in interface battlecode.common.GameConstants
Bash radius of a basher.
battlecode.common - package battlecode.common
 
BEAVER_MINE_MAX - Static variable in interface battlecode.common.GameConstants
The maximum amount of ore that a BEAVER can mine.
BEAVER_MINE_RATE - Static variable in interface battlecode.common.GameConstants
The fraction of ore that a BEAVER gets from a square.
breakpoint() - Method in interface battlecode.common.RobotController
If breakpoints are enabled, calling this method causes the game engine to pause execution at the end of this round, until the user decides to resume execution.
broadcast(int, int) - Method in interface battlecode.common.RobotController
Broadcasts a message to the global message board.
BROADCAST_MAX_CHANNELS - Static variable in interface battlecode.common.GameConstants
The maximum read/write-able of radio channel number
build(Direction, RobotType) - Method in interface battlecode.common.RobotController
Builds a structure in the given direction, queued for the end of the turn.
builder - Variable in class battlecode.common.RobotInfo
For structures being built, this will be the location of the unit building the structure (null if N/A).
buildingLocation - Variable in class battlecode.common.RobotInfo
For units that are building a structure, this will be the location of the structure being built (null if N/A).
buildTurns - Variable in enum battlecode.common.RobotType
Number of turns to spawn or build.
bytecodeLimit - Variable in enum battlecode.common.RobotType
Base bytecode limit of this robot (halved if the robot does not have sufficient supply upkeep).
BYTECODES_PER_SUPPLY - Static variable in interface battlecode.common.GameConstants
Bytecodes executed per unit of supply.

C

canAttack() - Method in enum battlecode.common.RobotType
Returns whether the robot can attack.
canAttackLocation(MapLocation) - Method in interface battlecode.common.RobotController
Returns whether the given location is within the robot's attack range.
canBuild(Direction, RobotType) - Method in interface battlecode.common.RobotController
Returns whether the robot can build a structure of the given type in the given direction, without taking delays into account.
canBuild() - Method in enum battlecode.common.RobotType
Returns whether the robot can build.
canLaunch(Direction) - Method in interface battlecode.common.RobotController
Returns whether the direction is valid for launching (LAUNCHER only).
canLaunch() - Method in enum battlecode.common.RobotType
Returns whether the robot can launch missiles.
canMine() - Method in interface battlecode.common.RobotController
Returns whether the robot is able to mine, without taking delays into account.
canMine() - Method in enum battlecode.common.RobotType
Returns whether the robot can mine.
canMove(Direction) - Method in interface battlecode.common.RobotController
Tells whether this robot can move in the given direction, without taking any sort of delays into account.
canMove() - Method in enum battlecode.common.RobotType
Returns whether the robot can move.
canSenseLocation(MapLocation) - Method in interface battlecode.common.RobotController
Returns true if the given location is within the robot's sensor range, or within the sensor range of some ally.
canSenseRobot(int) - Method in interface battlecode.common.RobotController
Returns true if the given robot is within the robot's sensor range.
canSpawn(Direction, RobotType) - Method in interface battlecode.common.RobotController
Returns whether the spawn action is valid, without taking delays into account.
canSpawn() - Method in enum battlecode.common.RobotType
Returns whether the robot can spawn.
castFlash(MapLocation) - Method in interface battlecode.common.RobotController
Casts Flash at the given location (COMMANDER only).
checkDependencyProgress(RobotType) - Method in interface battlecode.common.RobotController
Gets the current progress of a dependency (relevant for building structures).
Clock - Class in battlecode.common
A robot's internal clock, used for measuring "time" in bytecodes and rounds.
CommanderSkillType - Enum in battlecode.common
This enumeration represents the unique skills possessed by the Commander robot.
compareTo(MapLocation) - Method in class battlecode.common.MapLocation
A comparison function for MapLocations.
cooldownDelay - Variable in enum battlecode.common.RobotType
Cooldown delay: the amount of contribution to core delay from an attack.
coreDelay - Variable in class battlecode.common.RobotInfo
The current core delay of the robot.

D

dependency - Variable in enum battlecode.common.RobotType
For structures, this is the pre-requisite structure needed to build this structure (null if not applicable or if there is no dependency).
DependencyProgress - Enum in battlecode.common
An enumeration that represents the status of dependencies.
DIAGONAL_DELAY_MULTIPLIER - Static variable in interface battlecode.common.GameConstants
The factor that delays are multiplied by when a unit moves diagonally.
Direction - Enum in battlecode.common
This enumeration represents a direction from one MapLocation to another.
directionTo(MapLocation) - Method in class battlecode.common.MapLocation
Returns the Direction from this MapLocation to location.
disintegrate() - Method in interface battlecode.common.RobotController
Kills your robot and ends the current round.
distanceSquaredTo(MapLocation) - Method in class battlecode.common.MapLocation
Computes the square of the distance from this location to the specified location.
DRONE_VOID_DELAY_MULTIPLIER - Static variable in interface battlecode.common.GameConstants
The factor that the delays are multiplied by when a DRONE travels on a void.
dx - Variable in enum battlecode.common.Direction
 
dy - Variable in enum battlecode.common.Direction
 

E

equals(Object) - Method in class battlecode.common.MapLocation
Two MapLocations are regarded as equal iff their coordinates are the same.
EXCEPTION_BYTECODE_PENALTY - Static variable in interface battlecode.common.GameConstants
The bytecode penalty that is imposed each time an exception is thrown
explode() - Method in interface battlecode.common.RobotController
Attacks all surrounding enemies (MISSILE only).

F

FLASH_COOLDOWN - Static variable in interface battlecode.common.GameConstants
Cooldown for the FLASH skill (minimum number of turns between each usage of FLASH).
FLASH_MOVEMENT_DELAY - Static variable in interface battlecode.common.GameConstants
Movement delay increase upon using the 'flash' skill.
FLASH_RANGE_SQUARED - Static variable in interface battlecode.common.GameConstants
The range of the 'flash' skill.
FREE_BYTECODES - Static variable in interface battlecode.common.GameConstants
Number of bytecodes per turn that don't cost supply.

G

GameActionException - Exception in battlecode.common
An exception caused by a robot's interaction with the game world.
GameActionException(GameActionExceptionType, String) - Constructor for exception battlecode.common.GameActionException
Creates a GameActionException with the given type and message.
GameActionExceptionType - Enum in battlecode.common
Enumerates the possible errors in GameWorld interactions that cause a GameActionException to be thrown.
GameConstants - Interface in battlecode.common
Defines constants that affect gameplay.
getAllMapLocationsWithinRadiusSq(MapLocation, int) - Static method in class battlecode.common.MapLocation
Returns an array of all MapLocations within a certain radius squared of a specified location (cannot be called with radiusSquared greater than 100).
getBytecodeNum() - Static method in class battlecode.common.Clock
Returns the number of bytecodes the current robot has executed since the beginning of the current round.
getBytecodesLeft() - Static method in class battlecode.common.Clock
Returns the number of bytecodes this robot has left in this round.
getControlBits() - Method in interface battlecode.common.RobotController
Gets this robot's 'control bits' for debugging purposes.
getCoreDelay() - Method in interface battlecode.common.RobotController
Returns the amount of core delay a robot has accumulated.
getFlashCooldown() - Method in interface battlecode.common.RobotController
Returns the current cooldown of FLASH (COMMANDER only).
getHealth() - Method in interface battlecode.common.RobotController
Gets the robot's current health.
getID() - Method in interface battlecode.common.RobotController
Use this method to access your ID.
getLocation() - Method in interface battlecode.common.RobotController
Gets the robot's current location.
getMissileCount() - Method in interface battlecode.common.RobotController
Returns how many missiles the robot has.
getRoundLimit() - Method in interface battlecode.common.RobotController
Gets the number of rounds in the game.
getRoundNum() - Static method in class battlecode.common.Clock
Returns the current round number, where round 0 is the first round of the match.
getSupplyLevel() - Method in interface battlecode.common.RobotController
Gets the robot's current supply level.
getTeam() - Method in interface battlecode.common.RobotController
Gets the Team of this robot.
getTeamMemory() - Method in interface battlecode.common.RobotController
Returns the team memory from the last game of the match.
getTeamOre() - Method in interface battlecode.common.RobotController
Gets the team's total ore.
getType() - Method in exception battlecode.common.GameActionException
Gives the type of gameworld interaction that caused this GameActionException, which was specified when this instance was constructed.
getType() - Method in interface battlecode.common.RobotController
Gets this robot's type (SOLDIER, HQ, etc.).
getWeaponDelay() - Method in interface battlecode.common.RobotController
Returns the amount of weapon delay a robot has accumulated.
getXP() - Method in interface battlecode.common.RobotController
Gets the experience a robot has.

H

hasBuildRequirements(RobotType) - Method in interface battlecode.common.RobotController
Returns whether you have the ore and the dependencies to build the given robot, and that the robot can build structures.
hasCommander() - Method in interface battlecode.common.RobotController
Returns whether the team currently has a commander.
hashCode() - Method in class battlecode.common.MapLocation
hashCode() - Method in class battlecode.common.RobotInfo
 
hasLearnedSkill(CommanderSkillType) - Method in interface battlecode.common.RobotController
Returns whether the robot has learned a skill (only relevant if used by a COMMANDER).
hasSpawnRequirements(RobotType) - Method in interface battlecode.common.RobotController
Checks to make sure you have the ore requirements to spawn, and that the structure can actually spawn the specified RobotType.
health - Variable in class battlecode.common.RobotInfo
The current health of the robot.
HEAVY_HANDS_ATTACK_DELAY - Static variable in interface battlecode.common.GameConstants
Attack delay incurred by using the 'heavy hands' skill.
HEAVY_HANDS_MOVEMENT_DELAY - Static variable in interface battlecode.common.GameConstants
Movement delay incurred by using the 'heavy hands' skill.
HQ_BUFFED_ATTACK_DELAY - Static variable in interface battlecode.common.GameConstants
The attack delay of a buffed HQ (5 towers).
HQ_BUFFED_ATTACK_RADIUS_SQUARED - Static variable in interface battlecode.common.GameConstants
The attack radius of a buffed HQ (2 towers).
HQ_BUFFED_DAMAGE_MULTIPLIER_LEVEL_1 - Static variable in interface battlecode.common.GameConstants
The damage multiplier for a buffed HQ (3 towers).
HQ_BUFFED_DAMAGE_MULTIPLIER_LEVEL_2 - Static variable in interface battlecode.common.GameConstants
The damage multiplier for a buffed HQ (6 towers).
HQ_BUFFED_DAMAGE_RATIO_LEVEL_1 - Static variable in interface battlecode.common.GameConstants
The fraction of damage taken per attack for a buffed HQ (1 tower).
HQ_BUFFED_DAMAGE_RATIO_LEVEL_2 - Static variable in interface battlecode.common.GameConstants
The fraction of damage taken per attack for a 4-tower buffed HQ (4 towers).
HQ_BUFFED_DAMAGE_RATIO_LEVEL_3 - Static variable in interface battlecode.common.GameConstants
The fraction of damage taken per attack for a 6-tower buffed HQ (6 towers).
HQ_BUFFED_SPLASH_RADIUS_SQUARED - Static variable in interface battlecode.common.GameConstants
Splash radius of a buffed HQ (5 towers).
HQ_BUFFED_SPLASH_RATE - Static variable in interface battlecode.common.GameConstants
The fraction of damage done by splash on a buffed HQ (5 towers).
HQ_ORE_INCOME - Static variable in interface battlecode.common.GameConstants
The amount of ore the HQ gets for free each turn.

I

ID - Variable in class battlecode.common.RobotInfo
The unique ID of the robot.
IMPROVED_LEADERSHIP_DAMAGE_BONUS - Static variable in interface battlecode.common.GameConstants
 
isAdjacentTo(MapLocation) - Method in class battlecode.common.MapLocation
Determines whether this location is adjacent to the specified location.
isBuildable() - Method in enum battlecode.common.RobotType
Returns whether the robot is buildable.
isBuilding - Variable in enum battlecode.common.RobotType
Whether this robot is a structure (or building).
isBuildingSomething() - Method in interface battlecode.common.RobotController
Returns whether this robot is currently building anything.
isCoreReady() - Method in interface battlecode.common.RobotController
Returns whether the core delay is strictly less than 1 (whether the robot can perform a core action in the given turn).
isDiagonal() - Method in enum battlecode.common.Direction
Determines whether or not this direction is a diagonal one.
isLocationOccupied(MapLocation) - Method in interface battlecode.common.RobotController
Returns whether there is a robot at the given location.
isPathable(RobotType, MapLocation) - Method in interface battlecode.common.RobotController
Returns whether a robot of the given type can move into the given location, without taking any sort of delays into account.
isTraversable() - Method in enum battlecode.common.TerrainTile
Returns true if robots can traverse this terrain tile.
isWeaponReady() - Method in interface battlecode.common.RobotController
Returns whether the weapon delay is less than 1 (whether the robot can attack in the given turn).

L

launchMissile(Direction) - Method in interface battlecode.common.RobotController
Launches a missile in the given direction (LAUNCHER only).
LEADERSHIP_DAMAGE_BONUS - Static variable in interface battlecode.common.GameConstants
The damage increase applied to all allied units within range of 'leadership' when the skill is active.
LEADERSHIP_RANGE_SQUARED - Static variable in interface battlecode.common.GameConstants
The range of the 'leadership' skill.
loadingDelay - Variable in enum battlecode.common.RobotType
Loading delay: the amount of contribution to weapon delay from a movement.
location - Variable in class battlecode.common.RobotInfo
The current location of the robot.

M

MAP_MAX_HEIGHT - Static variable in interface battlecode.common.GameConstants
The maximum possible map height.
MAP_MAX_WIDTH - Static variable in interface battlecode.common.GameConstants
The maxiumum possible map width.
MAP_MIN_HEIGHT - Static variable in interface battlecode.common.GameConstants
The minimum possible map height.
MAP_MIN_WIDTH - Static variable in interface battlecode.common.GameConstants
The minumum possible map width.
MapLocation - Class in battlecode.common
This class is an immutable representation of two-dimensional coordinates in the battlecode world.
MapLocation(int, int) - Constructor for class battlecode.common.MapLocation
Creates a new MapLocation representing the location with the given coordinates.
maxHealth - Variable in enum battlecode.common.RobotType
Maximum health for the robot.
mine() - Method in interface battlecode.common.RobotController
Mines the current square for ore.
MINER_MINE_MAX - Static variable in interface battlecode.common.GameConstants
The maximum amount of ore that a MINER can mine.
MINER_MINE_MAX_UPGRADED - Static variable in interface battlecode.common.GameConstants
The maximum amount of ore that an upgraded MINER can mine (NOT USED!).
MINER_MINE_RATE - Static variable in interface battlecode.common.GameConstants
The fraction of ore that a MINER gets from a square.
MINIMUM_MINE_AMOUNT - Static variable in interface battlecode.common.GameConstants
The minimum amount that is mined on a square with no ore.
MINING_LOADING_DELAY - Static variable in interface battlecode.common.GameConstants
The loading delay from mining.
MINING_MOVEMENT_DELAY - Static variable in interface battlecode.common.GameConstants
The movement delay gained from mining.
MISSILE_LIFESPAN - Static variable in interface battlecode.common.GameConstants
After this many turns, a missile automatically detonates.
MISSILE_MAX_COUNT - Static variable in interface battlecode.common.GameConstants
The maximum number of missiles a launcher can have at a time.
MISSILE_MAXIMUM_DAMAGE - Static variable in interface battlecode.common.GameConstants
Maximum damage a missile can take.
MISSILE_RADIUS_SQUARED - Static variable in interface battlecode.common.GameConstants
Missile explosion splash radius.
MISSILE_SPAWN_FREQUENCY - Static variable in interface battlecode.common.GameConstants
The rate at which a launcher spawns missiles.
missileCount - Variable in class battlecode.common.RobotInfo
The missile count of the robot.
move(Direction) - Method in interface battlecode.common.RobotController
Queues a move in the given direction to be performed at the end of this turn.
movementDelay - Variable in enum battlecode.common.RobotType
Movement delay: the amount of contribution to core delay from a movement.

N

needsSupply() - Method in enum battlecode.common.RobotType
Returns whether the robot uses supply.
NUMBER_OF_INDICATOR_STRINGS - Static variable in interface battlecode.common.GameConstants
The number of indicator strings that a player can associate with a robot
NUMBER_OF_TOWERS_MAX - Static variable in interface battlecode.common.GameConstants
Maximum towers that can appear on a map (per team).

O

opponent() - Method in enum battlecode.common.Team
Determines the team that is the opponent of this team.
opposite() - Method in enum battlecode.common.Direction
Computes the direction opposite this one.
ORE_INITIAL_AMOUNT - Static variable in interface battlecode.common.GameConstants
The amount of ore a team starts the game with.
oreCost - Variable in enum battlecode.common.RobotType
Ore cost for building or spawning.

R

readBroadcast(int) - Method in interface battlecode.common.RobotController
Retrieves the message stored at the given radio channel.
REGEN_RATE - Static variable in interface battlecode.common.GameConstants
The hp that a commander regenerates per turn.
resign() - Method in interface battlecode.common.RobotController
Causes your team to lose the game.
RobotController - Interface in battlecode.common
A RobotController allows contestants to make their robot sense and interact with the game world.
RobotInfo - Class in battlecode.common
Struct that stores basic information that was 'sensed' of another Robot.
RobotInfo(int, Team, RobotType, MapLocation, double, double, double, double, int, int, MapLocation, MapLocation) - Constructor for class battlecode.common.RobotInfo
 
RobotType - Enum in battlecode.common
Contains details on various attributes of the different robots.
rotateLeft() - Method in enum battlecode.common.Direction
Computes the direction 45 degrees to the left (counter-clockwise) of this one.
rotateRight() - Method in enum battlecode.common.Direction
Computes the direction 45 degrees to the right (clockwise) of this one.
ROUND_MAX_LIMIT - Static variable in interface battlecode.common.GameConstants
The maximum possible round at which the game may be forced to end
ROUND_MIN_LIMIT - Static variable in interface battlecode.common.GameConstants
The minimum possible round at which the game may be forced to end

S

senseEnemyHQLocation() - Method in interface battlecode.common.RobotController
Returns location of the enemy team's HQ (unconstrained by sensor range or distance).
senseEnemyTowerLocations() - Method in interface battlecode.common.RobotController
Returns the locations of surviving enemy towers, unconstrained by sensor range or distance.
senseHQLocation() - Method in interface battlecode.common.RobotController
Returns location of the allied team's HQ (unconstrained by sensor range or distance).
senseNearbyRobots() - Method in interface battlecode.common.RobotController
Returns all robots that can be sensed on the map.
senseNearbyRobots(int) - Method in interface battlecode.common.RobotController
Returns all robots that can be sensed within a certain radius of the robot.
senseNearbyRobots(int, Team) - Method in interface battlecode.common.RobotController
Returns all robots of a given team that can be sensed within a certain radius of the robot.
senseNearbyRobots(MapLocation, int, Team) - Method in interface battlecode.common.RobotController
Returns all robots of a givin team that can be sensed within a certain radius of a specified location.
senseOre(MapLocation) - Method in interface battlecode.common.RobotController
Returns the amount of ore at a given location (to within sensor capabilities).
senseRobot(int) - Method in interface battlecode.common.RobotController
Senses information about a particular robot given its ID.
senseRobotAtLocation(MapLocation) - Method in interface battlecode.common.RobotController
Returns the robot at the given location, or null if there is no object there.
senseTerrainTile(MapLocation) - Method in interface battlecode.common.RobotController
Senses the terrain at the given location.
senseTowerLocations() - Method in interface battlecode.common.RobotController
Returns the locations of your own towers, unconstrained by sensor range or distance.
sensorRadiusSquared - Variable in enum battlecode.common.RobotType
Range^2 for sensing.
setIndicatorDot(MapLocation, int, int, int) - Method in interface battlecode.common.RobotController
Draws a dot on the game map, for debugging purposes.
setIndicatorLine(MapLocation, MapLocation, int, int, int) - Method in interface battlecode.common.RobotController
Draws a line on the game map, for debugging purposes.
setIndicatorString(int, String) - Method in interface battlecode.common.RobotController
Sets one of this robot's 'indicator strings' for debugging purposes.
setTeamMemory(int, long) - Method in interface battlecode.common.RobotController
Sets the team's "memory", which is saved for the next game in the match.
setTeamMemory(int, long, long) - Method in interface battlecode.common.RobotController
Sets this team's "memory".
spawn(Direction, RobotType) - Method in interface battlecode.common.RobotController
Queues a spawn action to be performed at the end of this robot's turn.
spawnSource - Variable in enum battlecode.common.RobotType
For units, this is the structure that spawns it.
strengthWeight - Variable in enum battlecode.common.RobotType
How relatively strong the unit is.
subtract(Direction) - Method in class battlecode.common.MapLocation
Returns a new MapLocation object representing a location one square from this one in the opposite of the given direction.
SUPPLY_DECAY - Static variable in interface battlecode.common.GameConstants
The rate at which supply decays each turn.
SUPPLY_GEN_BASE - Static variable in interface battlecode.common.GameConstants
Constants for the HQ supply generation formula.
SUPPLY_GEN_EXPONENT - Static variable in interface battlecode.common.GameConstants
 
SUPPLY_GEN_MULTIPLIER - Static variable in interface battlecode.common.GameConstants
 
SUPPLY_TRANSFER_RADIUS_SQUARED - Static variable in interface battlecode.common.GameConstants
The maximum distance over which supplies can be transferred.
supplyLevel - Variable in class battlecode.common.RobotInfo
The current supply level of the robot.
supplyUpkeep - Variable in enum battlecode.common.RobotType
Base supply upkeep (not including bytecode supply upkeep).

T

team - Variable in class battlecode.common.RobotInfo
The Team that the robot is on.
Team - Enum in battlecode.common
This enum represents the team of a GameObject; each GameObject has exactly one team.
TEAM_MEMORY_LENGTH - Static variable in interface battlecode.common.GameConstants
The number of longs that your team can remember between games.
TerrainTile - Enum in battlecode.common
Represents data of the terrain of a location on the map.
toString() - Method in class battlecode.common.MapLocation
transferSupplies(int, MapLocation) - Method in interface battlecode.common.RobotController
Transfers supplies to a robot in a nearby location (queued for the end of the turn).
type - Variable in class battlecode.common.RobotInfo
The type of the robot.

V

valueOf(String) - Static method in enum battlecode.common.CommanderSkillType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum battlecode.common.DependencyProgress
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum battlecode.common.Direction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum battlecode.common.GameActionExceptionType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class battlecode.common.MapLocation
 
valueOf(String) - Static method in enum battlecode.common.RobotType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum battlecode.common.Team
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum battlecode.common.TerrainTile
Returns the enum constant of this type with the specified name.
values() - Static method in enum battlecode.common.CommanderSkillType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum battlecode.common.DependencyProgress
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum battlecode.common.Direction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum battlecode.common.GameActionExceptionType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum battlecode.common.RobotType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum battlecode.common.Team
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum battlecode.common.TerrainTile
Returns an array containing the constants of this enum type, in the order they are declared.

W

weaponDelay - Variable in class battlecode.common.RobotInfo
The current weapon delay of the robot.

X

x - Variable in class battlecode.common.MapLocation
The x-coordinate.
xp - Variable in class battlecode.common.RobotInfo
The XP of the robot.
XP_RANGE - Static variable in interface battlecode.common.GameConstants
The range inside which commanders gain xp for destroyed enemy units.
XP_REQUIRED_FLASH - Static variable in interface battlecode.common.GameConstants
The xp required to activate the 'flash' skill.
XP_REQUIRED_HEAVY_HANDS - Static variable in interface battlecode.common.GameConstants
The xp required to activate the 'heavy hands' skill.
XP_REQUIRED_IMPROVED_LEADERSHIP - Static variable in interface battlecode.common.GameConstants
The xp required to activate the 'leadership' skill.
XP_REQUIRED_LEADERSHIP - Static variable in interface battlecode.common.GameConstants
The xp required to activate the 'leadership' skill.

Y

y - Variable in class battlecode.common.MapLocation
The y-coordinate.
yield() - Method in interface battlecode.common.RobotController
Ends the current round.
A B C D E F G H I L M N O R S T V W X Y