public class GameConstants
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static float |
ADDIITONAL_COOLDOWN_WATER
Cooldown factor when entering water tiles if the technology 'Navigation' has not been researched.
|
static int |
ADDITIONAL_RESOURCES_COIN
Additional resources received at the beginning of each round if the technology 'Coin' has been researched.
|
static int |
ADDITIONAL_RESOURCES_POISON
Additional resources received by the opponent at the beginning of each round if the technology 'Poison' has been researched.
|
static double |
ATTACK_COOLDOWN_RATIO_DECREASE_EXPERTISE
Attack cooldown ratio decrease all new units if the technology 'Expertise' has been researched.
|
static float[] |
ATTACK_COOLDOWN_UNITS
Array containing the attack cooldown of each unit type.
|
static int[] |
ATTACK_RANGE_UNITS
Array containing the attack range of each unit type.
|
static double |
ATTACK_RATIO_INCREASE_SHARPENERS
Attack ratio increase of new Axemen and Spearmen if the technology 'Sharpeners' has been researched.
|
static int[] |
ATTACK_UNITS
Array containing the attack of each unit type.
|
static int |
CONSTRUCTION_TURNS
Turns that units take since their construction until they can move and attack.
|
static int |
DEER_FOOD
Amount of food in the deposit created after killing a deer.
|
static double |
DEER_SPAWN_PROBABILITY
Probability that a deer spawns on a tile that meets the required conditions.
|
static int[] |
DETECTION_LEVEL
Array containing the detection level of each unit type.
|
static int |
DETECTION_LEVEL_DECREASE_CRYSTALS
The detection level of all new units is decreased by this value if 'Crystals' has been researched.
|
static int |
EXCEPTION_ENERGY_PENALTY
Energy consumed whenever a unit is penalized.
|
static int |
FARM_PRODUCTION
Food produced by farms each round.
|
static int |
FIRE_INTENSITY
Luminous intensity of fires.
|
static int |
FOOD_DECAY
Amount of food lost in each deposit each round.
|
static int |
FOOD_ROUND
Food received at the beginning of each round.
|
static int[] |
FOOD_UNIT_COSTS
Array containing the food cost of each unit type.
|
static int |
FOREST_OPACITY
Opacity of tiles with forests.
|
static int |
INITIAL_FOOD
Initial food of each team.
|
static int |
INITIAL_STONE
Initial stone of each team.
|
static int |
INITIAL_WOOD
Initial wood of each team.
|
static int |
LUMINOUS_INTENSITY_INCREASE_COMBUSTION
The luminous intensity of all new torches and fires created by all units of a given team are increased by this value if `Combustion` has been researched.
|
static int[] |
LUMINOUS_INTENSITY_UNITS
Array containing the intrinsic luminous intensity of each unit type.
|
static int |
MAX_ENERGY
Maximum amount of energy that a unit can spend each round.
|
static int |
MAX_HEALTH_INCREASE_EUGENICS
The maximum HP of new wolves is increased by this value if 'Eugenics' has been researched.
|
static double |
MAX_HEALTH_RATIO_INCREASE_COOKING
Max Health ratio increase of all new units if the technology 'Cooking' has been researched.
|
static int[] |
MAX_HP_UNITS
Array containing the maximum health points of each unit type.
|
static int |
MAX_ID
Maximum ID for units.
|
static int |
MAX_MAP_SIZE
Maximum map size.
|
static int |
MAX_RESOURCE_CAPACITY
Maximum amount of resources of each type that a worker can carry.
|
static int |
MAX_RESOURCE_CAPACITY_BOXES
Maximum amount of resources of each type that a worker can carry if the technology 'Boxes' has been researched.
|
static int |
MAX_ROCK_ART_NUMBER
Maximum number that can be drawn with rock art.
|
static int |
MAX_ROUNDS
Total number of rounds in a game.
|
static int |
MAX_TOTAL_UNITS
Food produced by quarries each round.
|
static int |
MAX_TOTAL_UNITS_INCREASE_HOUSES
The total number of units that a team can create is increased by this value if 'Houses' is researched.
|
static int |
MAX_TOTAL_UNITS_INCREASE_HUTS
The total number of units that a team can create is increased by this value if 'Huts' is researched.
|
static int[] |
MIN_ATTACK_RANGE_UNITS
Array containing the minimum attack range of each unit type.
|
static int |
MIN_DEER_LUMINOSITY
Necessary luminous intensity for deer to spawn or move to a given tile.
|
static int |
MIN_MAP_SIZE
Minimum map size.
|
static int |
MIN_ROCK_ART_NUMBER
Minimum number that can be drawn with rock art.
|
static int |
MOUNTAIN_OPACITY
Opacity of tiles with mountains.
|
static float |
MOVEMENT_COOLDOWN_DECREASE_EUGENICS
The movement cooldown of new wolves is decreased by this value if 'Eugenics' has been researched.
|
static float[] |
MOVEMENT_COOLDOWN_UNITS
Array containing the movement cooldown of each unit type.
|
static int[] |
MOVEMENT_RANGE
Array containing the movement range of each unit type.
|
static int |
QUARRY_PRODUCTION
Food produced by quarries each round.
|
static float |
RESOURCES_RETURNED_TACTICS
Proportion of the resources that are returned when creating a new unit if the technology 'Tactics' has been researched.
|
static int |
RESOURCES_WORKER_ROUND
Amount of resources of a given type that a worker can gather each round.
|
static int |
RESOURCES_WORKER_ROUND_UTENSILS
Amount of resources of a given type that a worker can gather each round if the technology 'Utencils' has been researched.
|
static int |
SAWMILL_PRODUCTION
Food produced by farms each round.
|
static int |
SMOKE_SIGNAL_COOLDOWN
Minimum number that can be drawn with rock art.
|
static int |
SMOKE_SIGNAL_COOLDOWN_VOCABULARY
Minimum number that can be drawn with rock art if 'Vocabulary' has been researched.
|
static int |
STANDARD_OPACITY
Opacity of tiles without forests or mountains.
|
static int |
STONE_ROUND
Stone received at the beginning of each round.
|
static int[] |
STONE_UNIT_COSTS
Array containing the stone cost of each unit type.
|
static int |
TECH_LEVEL_THRESHOLD
Required amount of technologies of a given level to unlock the next technology level.
|
static int[] |
TECHNOLOGY_FOOD_COSTS
Array containing the food cost of each technology (sorted by the technology enumeration).
|
static int[] |
TECHNOLOGY_STONE_COSTS
Array containing the stone cost of each technology (sorted by the technology enumeration).
|
static int[] |
TECHNOLOGY_WOOD_COSTS
Array containing the wood cost of each technology (sorted by the technology enumeration).
|
static int |
TORCH_DURATION
Duration of torches (in rounds).
|
static int |
TORCH_DURATION_OIL
Duration of torches (in rounds) if the technology 'Oil' has been researched.
|
static int |
TORCH_INTENSITY
Luminous intensity of torches.
|
static int[] |
TORCH_THROW_RANGE
Array containing the range of each unit type when they throw their torch.
|
static int |
TORCH_WOOD_COST
Wood cost of lighting a torch.
|
static int[] |
VIISON_RANGE_UNITS
Array containing the vision range of each unit type.
|
static int |
WOOD_ROUND
Wood received at the beginning of each round.
|
static int[] |
WOOD_UNIT_COSTS
Array containing the wood cost of each unit type.
|
| Constructor and Description |
|---|
GameConstants() |
public static final int MAX_ROUNDS
public static final int INITIAL_FOOD
public static final int INITIAL_STONE
public static final int INITIAL_WOOD
public static final int ADDITIONAL_RESOURCES_COIN
public static final int ADDITIONAL_RESOURCES_POISON
public static final int FOOD_ROUND
public static final int STONE_ROUND
public static final int WOOD_ROUND
public static final int FARM_PRODUCTION
public static final int QUARRY_PRODUCTION
public static final int MAX_TOTAL_UNITS
public static final int MAX_TOTAL_UNITS_INCREASE_HUTS
public static final int MAX_TOTAL_UNITS_INCREASE_HOUSES
public static final int TECH_LEVEL_THRESHOLD
public static final int MIN_DEER_LUMINOSITY
public static final int DETECTION_LEVEL_DECREASE_CRYSTALS
public static final int LUMINOUS_INTENSITY_INCREASE_COMBUSTION
public static final double DEER_SPAWN_PROBABILITY
public static final int DEER_FOOD
public static final float RESOURCES_RETURNED_TACTICS
public static final int FOOD_DECAY
public static int RESOURCES_WORKER_ROUND
public static int RESOURCES_WORKER_ROUND_UTENSILS
public static double ATTACK_RATIO_INCREASE_SHARPENERS
public static double ATTACK_COOLDOWN_RATIO_DECREASE_EXPERTISE
public static double MAX_HEALTH_RATIO_INCREASE_COOKING
public static final int SAWMILL_PRODUCTION
public static final int TORCH_WOOD_COST
public static final int TORCH_INTENSITY
public static final int FIRE_INTENSITY
public static final int TORCH_DURATION
public static final int TORCH_DURATION_OIL
public static final float ADDIITONAL_COOLDOWN_WATER
public static final float MOVEMENT_COOLDOWN_DECREASE_EUGENICS
public static final int MAX_HEALTH_INCREASE_EUGENICS
public static final int MAX_RESOURCE_CAPACITY
public static final int MAX_RESOURCE_CAPACITY_BOXES
public static final int MAX_ROCK_ART_NUMBER
public static final int MIN_ROCK_ART_NUMBER
public static final int SMOKE_SIGNAL_COOLDOWN
public static final int SMOKE_SIGNAL_COOLDOWN_VOCABULARY
public static final int STANDARD_OPACITY
public static final int FOREST_OPACITY
public static final int MOUNTAIN_OPACITY
public static final int CONSTRUCTION_TURNS
public static final int MAX_ENERGY
public static final int EXCEPTION_ENERGY_PENALTY
public static final int MAX_MAP_SIZE
public static final int MIN_MAP_SIZE
public static final int MAX_ID
public static final int[] WOOD_UNIT_COSTS
public static final int[] STONE_UNIT_COSTS
public static final int[] FOOD_UNIT_COSTS
public static final int[] ATTACK_UNITS
public static final int[] ATTACK_RANGE_UNITS
public static final int[] MIN_ATTACK_RANGE_UNITS
public static final int[] MAX_HP_UNITS
public static final float[] ATTACK_COOLDOWN_UNITS
public static final float[] MOVEMENT_COOLDOWN_UNITS
public static final int[] VIISON_RANGE_UNITS
public static final int[] MOVEMENT_RANGE
public static final int[] DETECTION_LEVEL
public static final int[] TORCH_THROW_RANGE
public static final int[] LUMINOUS_INTENSITY_UNITS
public static final int[] TECHNOLOGY_FOOD_COSTS
public static final int[] TECHNOLOGY_WOOD_COSTS
public static final int[] TECHNOLOGY_STONE_COSTS