robocraft.common
Interface GameConstants

All Known Implementing Classes:
AbstractRobotPlayer

public interface GameConstants


Field Summary
static double BROADCAST_COST_PER_BYTE
          Additional cost per byte of message size
static double BROADCAST_FIXED_COST
          Fixed cost to send a message
static java.lang.String DEFAULT_DEBUG_ENABLED
           
static java.lang.String DEFAULT_MAP
           
static java.lang.String DEFAULT_SERVER_HOST
           
static java.lang.String DEFAULT_SERVER_PORT
           
static java.lang.String DEFAULT_SILENCEA
           
static java.lang.String DEFAULT_SILENCEB
           
static java.lang.String DEFAULT_TEAMA
           
static java.lang.String DEFAULT_TEAMB
           
static double EXCEPTION_ENERGON_COST
          Amount of energon you lose for causing a GameActionException
static double FALLOUT_FRACTION
          Fraction of mine damage neighboring squares receive when mine explodes
static double MAX_MINE_POWER
          Maximum amount of energon you can use to build a mine
static double MIN_MINE_POWER
          Minimum amount of energon you can use to build a mine
static double MINE_DAMAGE_FACTOR
          Multiplied by energon in a mine when computing damage
static int MINE_DELAY_ROUNDS
          Rounds between mine being triggered and exploding
static int ROBOT_TYPE_LIMIT
          Max number of robots each team can have of a single RobotType at a given time
static double ROUND_ENERGON_BONUS
          Amount of energon you get every round, unconditionally
static int ROUNDS_PER_SHRINK
          Number of rounds between shrink events when a match goes into overtime.
static int SERVER_PORT
          No longer used for anything.
static int TEAM_TOTAL_LIMIT
          Max number of robots each team can have total at a given time
static double YIELD_ENERGON_BONUS
          Amount of energon you get for calling yield()
 

Field Detail

BROADCAST_FIXED_COST

public static final double BROADCAST_FIXED_COST
Fixed cost to send a message

See Also:
Constant Field Values

BROADCAST_COST_PER_BYTE

public static final double BROADCAST_COST_PER_BYTE
Additional cost per byte of message size

See Also:
Constant Field Values

YIELD_ENERGON_BONUS

public static final double YIELD_ENERGON_BONUS
Amount of energon you get for calling yield()

See Also:
Constant Field Values

ROUND_ENERGON_BONUS

public static final double ROUND_ENERGON_BONUS
Amount of energon you get every round, unconditionally

See Also:
Constant Field Values

EXCEPTION_ENERGON_COST

public static final double EXCEPTION_ENERGON_COST
Amount of energon you lose for causing a GameActionException

See Also:
Constant Field Values

ROBOT_TYPE_LIMIT

public static final int ROBOT_TYPE_LIMIT
Max number of robots each team can have of a single RobotType at a given time

See Also:
Constant Field Values

TEAM_TOTAL_LIMIT

public static final int TEAM_TOTAL_LIMIT
Max number of robots each team can have total at a given time

See Also:
Constant Field Values

ROUNDS_PER_SHRINK

public static final int ROUNDS_PER_SHRINK
Number of rounds between shrink events when a match goes into overtime.

See Also:
Constant Field Values

MIN_MINE_POWER

public static final double MIN_MINE_POWER
Minimum amount of energon you can use to build a mine

See Also:
Constant Field Values

MAX_MINE_POWER

public static final double MAX_MINE_POWER
Maximum amount of energon you can use to build a mine

See Also:
Constant Field Values

MINE_DELAY_ROUNDS

public static final int MINE_DELAY_ROUNDS
Rounds between mine being triggered and exploding

See Also:
Constant Field Values

MINE_DAMAGE_FACTOR

public static final double MINE_DAMAGE_FACTOR
Multiplied by energon in a mine when computing damage

See Also:
Constant Field Values

FALLOUT_FRACTION

public static final double FALLOUT_FRACTION
Fraction of mine damage neighboring squares receive when mine explodes

See Also:
Constant Field Values

SERVER_PORT

public static final int SERVER_PORT
No longer used for anything. See DEFAULT_SERVER_PORT instead.

See Also:
Constant Field Values

DEFAULT_SERVER_PORT

public static final java.lang.String DEFAULT_SERVER_PORT
See Also:
Constant Field Values

DEFAULT_SERVER_HOST

public static final java.lang.String DEFAULT_SERVER_HOST
See Also:
Constant Field Values

DEFAULT_MAP

public static final java.lang.String DEFAULT_MAP
See Also:
Constant Field Values

DEFAULT_TEAMA

public static final java.lang.String DEFAULT_TEAMA
See Also:
Constant Field Values

DEFAULT_TEAMB

public static final java.lang.String DEFAULT_TEAMB
See Also:
Constant Field Values

DEFAULT_SILENCEA

public static final java.lang.String DEFAULT_SILENCEA
See Also:
Constant Field Values

DEFAULT_SILENCEB

public static final java.lang.String DEFAULT_SILENCEB
See Also:
Constant Field Values

DEFAULT_DEBUG_ENABLED

public static final java.lang.String DEFAULT_DEBUG_ENABLED
See Also:
Constant Field Values