public interface GameConstants
| Modifier and Type | Field and Description |
|---|---|
static int |
BASH_RADIUS_SQUARED
Bash radius of a basher.
|
static double |
BEAVER_MINE_MAX
The maximum amount of ore that a BEAVER can mine.
|
static int |
BEAVER_MINE_RATE
The fraction of ore that a BEAVER gets from a square.
|
static int |
BROADCAST_MAX_CHANNELS
The maximum read/write-able of radio channel number
|
static int |
BYTECODES_PER_SUPPLY
Bytecodes executed per unit of supply.
|
static double |
DIAGONAL_DELAY_MULTIPLIER
The factor that delays are multiplied by when a unit moves diagonally.
|
static double |
DRONE_VOID_DELAY_MULTIPLIER
The factor that the delays are multiplied by when a DRONE travels on a void.
|
static int |
EXCEPTION_BYTECODE_PENALTY
The bytecode penalty that is imposed each time an exception is thrown
|
static int |
FLASH_COOLDOWN
Cooldown for the FLASH skill (minimum number of turns between each usage of FLASH).
|
static double |
FLASH_MOVEMENT_DELAY
Movement delay increase upon using the 'flash' skill.
|
static int |
FLASH_RANGE_SQUARED
The range of the 'flash' skill.
|
static int |
FREE_BYTECODES
Number of bytecodes per turn that don't cost supply.
|
static double |
HEAVY_HANDS_ATTACK_DELAY
Attack delay incurred by using the 'heavy hands' skill.
|
static double |
HEAVY_HANDS_MOVEMENT_DELAY
Movement delay incurred by using the 'heavy hands' skill.
|
static int |
HQ_BUFFED_ATTACK_DELAY
The attack delay of a buffed HQ (5 towers).
|
static int |
HQ_BUFFED_ATTACK_RADIUS_SQUARED
The attack radius of a buffed HQ (2 towers).
|
static double |
HQ_BUFFED_DAMAGE_MULTIPLIER_LEVEL_1
The damage multiplier for a buffed HQ (3 towers).
|
static double |
HQ_BUFFED_DAMAGE_MULTIPLIER_LEVEL_2
The damage multiplier for a buffed HQ (6 towers).
|
static double |
HQ_BUFFED_DAMAGE_RATIO_LEVEL_1
The fraction of damage taken per attack for a buffed HQ (1 tower).
|
static double |
HQ_BUFFED_DAMAGE_RATIO_LEVEL_2
The fraction of damage taken per attack for a 4-tower buffed HQ (4 towers).
|
static double |
HQ_BUFFED_DAMAGE_RATIO_LEVEL_3
The fraction of damage taken per attack for a 6-tower buffed HQ (6 towers).
|
static int |
HQ_BUFFED_SPLASH_RADIUS_SQUARED
Splash radius of a buffed HQ (5 towers).
|
static double |
HQ_BUFFED_SPLASH_RATE
The fraction of damage done by splash on a buffed HQ (5 towers).
|
static int |
HQ_ORE_INCOME
The amount of ore the HQ gets for free each turn.
|
static double |
IMPROVED_LEADERSHIP_DAMAGE_BONUS |
static double |
LEADERSHIP_DAMAGE_BONUS
The damage increase applied to all allied units within range of 'leadership' when the skill is active.
|
static int |
LEADERSHIP_RANGE_SQUARED
The range of the 'leadership' skill.
|
static int |
MAP_MAX_HEIGHT
The maximum possible map height.
|
static int |
MAP_MAX_WIDTH
The maxiumum possible map width.
|
static int |
MAP_MIN_HEIGHT
The minimum possible map height.
|
static int |
MAP_MIN_WIDTH
The minumum possible map width.
|
static double |
MINER_MINE_MAX
The maximum amount of ore that a MINER can mine.
|
static int |
MINER_MINE_MAX_UPGRADED
The maximum amount of ore that an upgraded MINER can mine (NOT USED!).
|
static int |
MINER_MINE_RATE
The fraction of ore that a MINER gets from a square.
|
static double |
MINIMUM_MINE_AMOUNT
The minimum amount that is mined on a square with no ore.
|
static int |
MINING_LOADING_DELAY
The loading delay from mining.
|
static int |
MINING_MOVEMENT_DELAY
The movement delay gained from mining.
|
static int |
MISSILE_LIFESPAN
After this many turns, a missile automatically detonates.
|
static int |
MISSILE_MAX_COUNT
The maximum number of missiles a launcher can have at a time.
|
static double |
MISSILE_MAXIMUM_DAMAGE
Maximum damage a missile can take.
|
static int |
MISSILE_RADIUS_SQUARED
Missile explosion splash radius.
|
static int |
MISSILE_SPAWN_FREQUENCY
The rate at which a launcher spawns missiles.
|
static int |
NUMBER_OF_INDICATOR_STRINGS
The number of indicator strings that a player can associate with a robot
|
static int |
NUMBER_OF_TOWERS_MAX
Maximum towers that can appear on a map (per team).
|
static int |
ORE_INITIAL_AMOUNT
The amount of ore a team starts the game with.
|
static double |
REGEN_RATE
The hp that a commander regenerates per turn.
|
static int |
ROUND_MAX_LIMIT
The maximum possible round at which the game may be forced to end
|
static int |
ROUND_MIN_LIMIT
The minimum possible round at which the game may be forced to end
|
static double |
SUPPLY_DECAY
The rate at which supply decays each turn.
|
static double |
SUPPLY_GEN_BASE
Constants for the HQ supply generation formula.
|
static double |
SUPPLY_GEN_EXPONENT |
static double |
SUPPLY_GEN_MULTIPLIER |
static int |
SUPPLY_TRANSFER_RADIUS_SQUARED
The maximum distance over which supplies can be transferred.
|
static int |
TEAM_MEMORY_LENGTH
The number of longs that your team can remember between games.
|
static int |
XP_RANGE
The range inside which commanders gain xp for destroyed enemy units.
|
static int |
XP_REQUIRED_FLASH
The xp required to activate the 'flash' skill.
|
static int |
XP_REQUIRED_HEAVY_HANDS
The xp required to activate the 'heavy hands' skill.
|
static int |
XP_REQUIRED_IMPROVED_LEADERSHIP
The xp required to activate the 'leadership' skill.
|
static int |
XP_REQUIRED_LEADERSHIP
The xp required to activate the 'leadership' skill.
|
static final int MAP_MIN_HEIGHT
static final int MAP_MAX_HEIGHT
static final int MAP_MIN_WIDTH
static final int MAP_MAX_WIDTH
static final int ROUND_MIN_LIMIT
static final int ROUND_MAX_LIMIT
static final int TEAM_MEMORY_LENGTH
static final int NUMBER_OF_INDICATOR_STRINGS
static final int BROADCAST_MAX_CHANNELS
static final int EXCEPTION_BYTECODE_PENALTY
static final int FREE_BYTECODES
static final int BYTECODES_PER_SUPPLY
static final int NUMBER_OF_TOWERS_MAX
static final double SUPPLY_DECAY
static final int SUPPLY_TRANSFER_RADIUS_SQUARED
static final double SUPPLY_GEN_BASE
static final double SUPPLY_GEN_MULTIPLIER
static final double SUPPLY_GEN_EXPONENT
static final int ORE_INITIAL_AMOUNT
static final int HQ_ORE_INCOME
static final double MINIMUM_MINE_AMOUNT
static final double BEAVER_MINE_MAX
static final int BEAVER_MINE_RATE
static final double MINER_MINE_MAX
static final int MINER_MINE_MAX_UPGRADED
static final int MINER_MINE_RATE
static final int MINING_MOVEMENT_DELAY
static final int MINING_LOADING_DELAY
static final int HQ_BUFFED_ATTACK_RADIUS_SQUARED
static final double HQ_BUFFED_DAMAGE_RATIO_LEVEL_1
static final double HQ_BUFFED_DAMAGE_RATIO_LEVEL_2
static final double HQ_BUFFED_DAMAGE_RATIO_LEVEL_3
static final double HQ_BUFFED_DAMAGE_MULTIPLIER_LEVEL_1
static final double HQ_BUFFED_DAMAGE_MULTIPLIER_LEVEL_2
static final int HQ_BUFFED_ATTACK_DELAY
static final double HQ_BUFFED_SPLASH_RATE
static final int HQ_BUFFED_SPLASH_RADIUS_SQUARED
static final int BASH_RADIUS_SQUARED
static final int MISSILE_RADIUS_SQUARED
static final int MISSILE_SPAWN_FREQUENCY
static final double MISSILE_MAXIMUM_DAMAGE
static final int MISSILE_MAX_COUNT
static final int MISSILE_LIFESPAN
static final double DRONE_VOID_DELAY_MULTIPLIER
static final double DIAGONAL_DELAY_MULTIPLIER
static final int XP_RANGE
static final double REGEN_RATE
static final int XP_REQUIRED_FLASH
static final int XP_REQUIRED_LEADERSHIP
static final int XP_REQUIRED_HEAVY_HANDS
static final int XP_REQUIRED_IMPROVED_LEADERSHIP
static final int LEADERSHIP_RANGE_SQUARED
static final double LEADERSHIP_DAMAGE_BONUS
static final double IMPROVED_LEADERSHIP_DAMAGE_BONUS
static final int FLASH_COOLDOWN
static final int FLASH_RANGE_SQUARED
static final double FLASH_MOVEMENT_DELAY
static final double HEAVY_HANDS_MOVEMENT_DELAY
static final double HEAVY_HANDS_ATTACK_DELAY