gecco.game.dke
Class Def
java.lang.Object
|
+--gecco.game.dke.Def
- Direct Known Subclasses:
- DefDKE3
- public abstract class Def
- extends Object
Constructor Summary |
Def()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNDEFINED_FORCE
public static final int UNDEFINED_FORCE
- See Also:
- Constant Field Values
NO_FORCE
public static final int NO_FORCE
- See Also:
- Constant Field Values
BLUE_FORCE
public static final int BLUE_FORCE
- See Also:
- Constant Field Values
RED_FORCE
public static final int RED_FORCE
- See Also:
- Constant Field Values
BLUE_FORCE_NAME
public static final String BLUE_FORCE_NAME
- See Also:
- Constant Field Values
RED_FORCE_NAME
public static final String RED_FORCE_NAME
- See Also:
- Constant Field Values
NO_FORCE_NAME
public static final String NO_FORCE_NAME
- See Also:
- Constant Field Values
SCORE_ADVANTAGE_TO_WIN
public static final int SCORE_ADVANTAGE_TO_WIN
- See Also:
- Constant Field Values
BLUE_RETREAT_BASE
public static final int[] BLUE_RETREAT_BASE
RED_RETREAT_BASE
public static final int[] RED_RETREAT_BASE
UNDEFINED_RETREAT_BASE
public static final int[] UNDEFINED_RETREAT_BASE
MAP_SCALE
public static final int MAP_SCALE
- See Also:
- Constant Field Values
STEP_LENGTH
public static final double STEP_LENGTH
- See Also:
- Constant Field Values
SYSTEM_ROLE_NAME
public static final String SYSTEM_ROLE_NAME
- See Also:
- Constant Field Values
MAX_ROAD_WIDTH
public static final int MAX_ROAD_WIDTH
- See Also:
- Constant Field Values
MAX_GAME_TIME
public static final double MAX_GAME_TIME
- See Also:
- Constant Field Values
TIME_FOR_PAUSE
public static final double TIME_FOR_PAUSE
- See Also:
- Constant Field Values
TIME_FOR_NORMAL_SPEED
public static final double TIME_FOR_NORMAL_SPEED
- See Also:
- Constant Field Values
TIME_FOR_WARP_SPEED
public static final double TIME_FOR_WARP_SPEED
- See Also:
- Constant Field Values
WARP_SPEED_FACTOR
public static final double WARP_SPEED_FACTOR
- See Also:
- Constant Field Values
WINNER_IS_STRING
public static final String WINNER_IS_STRING
- See Also:
- Constant Field Values
COFFEE_BREAK_STRING
public static final String COFFEE_BREAK_STRING
- See Also:
- Constant Field Values
SEA
public static final int SEA
- See Also:
- Constant Field Values
CLEAR
public static final int CLEAR
- See Also:
- Constant Field Values
SWAMP
public static final int SWAMP
- See Also:
- Constant Field Values
FLOODED
public static final int FLOODED
- See Also:
- Constant Field Values
HILL
public static final int HILL
- See Also:
- Constant Field Values
RIVER
public static final int RIVER
- See Also:
- Constant Field Values
WOODED
public static final int WOODED
- See Also:
- Constant Field Values
FOREST
public static final int FOREST
- See Also:
- Constant Field Values
BEACH
public static final int BEACH
- See Also:
- Constant Field Values
RAILROAD
public static final int RAILROAD
- See Also:
- Constant Field Values
TOWN
public static final int TOWN
- See Also:
- Constant Field Values
VILLAGE
public static final int VILLAGE
- See Also:
- Constant Field Values
ROAD_LARGE
public static final int ROAD_LARGE
- See Also:
- Constant Field Values
ROAD_SMALL
public static final int ROAD_SMALL
- See Also:
- Constant Field Values
ROAD_FOREST
public static final int ROAD_FOREST
- See Also:
- Constant Field Values
BRIDGE
public static final int BRIDGE
- See Also:
- Constant Field Values
UNDER_INDIRECT_FIRE
public static final int UNDER_INDIRECT_FIRE
- See Also:
- Constant Field Values
WARNING_STRING
public static final String WARNING_STRING
- See Also:
- Constant Field Values
ENEMY_SPOTED_STRING
public static final String ENEMY_SPOTED_STRING
- See Also:
- Constant Field Values
DESTINATION_REACHED_STRING
public static final String DESTINATION_REACHED_STRING
- See Also:
- Constant Field Values
CANT_MOVE_OUT_OF_MAP_STRING
public static final String CANT_MOVE_OUT_OF_MAP_STRING
- See Also:
- Constant Field Values
CANT_MOVE_TO_WATER_STRING
public static final String CANT_MOVE_TO_WATER_STRING
- See Also:
- Constant Field Values
MUST_START_ON_ROUTE_STRING
public static final String MUST_START_ON_ROUTE_STRING
- See Also:
- Constant Field Values
MUST_END_ON_ROUTE_STRING
public static final String MUST_END_ON_ROUTE_STRING
- See Also:
- Constant Field Values
UNIT_DESTROYED_STRING
public static final String UNIT_DESTROYED_STRING
- See Also:
- Constant Field Values
MOVEMENT_PROPERTY_STRING
public static final String MOVEMENT_PROPERTY_STRING
- See Also:
- Constant Field Values
PROTECTION_PROPERTY_STRING
public static final String PROTECTION_PROPERTY_STRING
- See Also:
- Constant Field Values
HEALTH_PROPERTY_STRING
public static final String HEALTH_PROPERTY_STRING
- See Also:
- Constant Field Values
ATTACK_PROPERTY_STRING
public static final String ATTACK_PROPERTY_STRING
- See Also:
- Constant Field Values
DEFENCE_PROPERTY_STRING
public static final String DEFENCE_PROPERTY_STRING
- See Also:
- Constant Field Values
INDIRECT_FIRE_PROPERTY_STRING
public static final String INDIRECT_FIRE_PROPERTY_STRING
- See Also:
- Constant Field Values
STATUS_PROPERTY_STRING
public static final String STATUS_PROPERTY_STRING
- See Also:
- Constant Field Values
SPEED_FACTOR_STRING
public static final String SPEED_FACTOR_STRING
- See Also:
- Constant Field Values
AMMUNITION_PROPERTY_STRING
public static final String AMMUNITION_PROPERTY_STRING
- See Also:
- Constant Field Values
FUEL_PROPERTY_STRING
public static final String FUEL_PROPERTY_STRING
- See Also:
- Constant Field Values
RELOAD_PROPERTY_STRING
public static final String RELOAD_PROPERTY_STRING
- See Also:
- Constant Field Values
INITIAL_RELOADING_STRING
public static final String INITIAL_RELOADING_STRING
- See Also:
- Constant Field Values
NR_OF_RELOADING_STEPS
public static final int NR_OF_RELOADING_STEPS
- See Also:
- Constant Field Values
REGAIN_STRENGTH_PROPERTY_STRING
public static final String REGAIN_STRENGTH_PROPERTY_STRING
- See Also:
- Constant Field Values
INITIAL_REGAIN_STRENGTH_STRING
public static final String INITIAL_REGAIN_STRENGTH_STRING
- See Also:
- Constant Field Values
NR_OF_REGAIN_STRENGTH_STEPS
public static final int NR_OF_REGAIN_STRENGTH_STEPS
- See Also:
- Constant Field Values
REGAIN_STRENGTH_ABORTED_STRING
public static final String REGAIN_STRENGTH_ABORTED_STRING
- See Also:
- Constant Field Values
CANT_BEGIN_MOVEMENT_STRING
public static final String CANT_BEGIN_MOVEMENT_STRING
- See Also:
- Constant Field Values
LAST_VISITOR_CHANGED
public static final String LAST_VISITOR_CHANGED
- See Also:
- Constant Field Values
INDIRECT_FIRE_STRING
public static final String INDIRECT_FIRE_STRING
- See Also:
- Constant Field Values
INDIRECT_FIRE_STARTS_STRING
public static final String INDIRECT_FIRE_STARTS_STRING
- See Also:
- Constant Field Values
INDIRECT_FIRE_COMPLETED_STRING
public static final String INDIRECT_FIRE_COMPLETED_STRING
- See Also:
- Constant Field Values
INDIRECT_FIRE_WARNING_STRING
public static final String INDIRECT_FIRE_WARNING_STRING
- See Also:
- Constant Field Values
INDIRECT_FIRE_DISPERSION
public static final int INDIRECT_FIRE_DISPERSION
- See Also:
- Constant Field Values
INDIRECT_FIRE_EXTEND_TIME
public static final double INDIRECT_FIRE_EXTEND_TIME
- See Also:
- Constant Field Values
INDIRECT_FIRE_MAX_RANGE
public static final int INDIRECT_FIRE_MAX_RANGE
- See Also:
- Constant Field Values
INDIRECT_FIRE_MIN_RANGE
public static final int INDIRECT_FIRE_MIN_RANGE
- See Also:
- Constant Field Values
INDIRECT_FIRE_OUT_OF_RANGE_STRING
public static final String INDIRECT_FIRE_OUT_OF_RANGE_STRING
- See Also:
- Constant Field Values
RELOAD_EXTEND_TIME
public static final double RELOAD_EXTEND_TIME
- See Also:
- Constant Field Values
RESULT_MASK
public static final int RESULT_MASK
- See Also:
- Constant Field Values
DISTURBED_TIME
public static final double DISTURBED_TIME
- See Also:
- Constant Field Values
D
public static final int D
- See Also:
- Constant Field Values
DISTURBED
public static final int DISTURBED
- See Also:
- Constant Field Values
DISTURBED_PERFORMANCE_FACTOR
public static final double DISTURBED_PERFORMANCE_FACTOR
- See Also:
- Constant Field Values
ARTILLERY_RESULT_TABLE
public static final int[][] ARTILLERY_RESULT_TABLE
ATTACK_RADIUS
public static final int ATTACK_RADIUS
- See Also:
- Constant Field Values
R
public static final int R
- See Also:
- Constant Field Values
RETREAT
public static final int RETREAT
- See Also:
- Constant Field Values
E
public static final int E
- See Also:
- Constant Field Values
ELIMINATED
public static final int ELIMINATED
- See Also:
- Constant Field Values
ADVANCE
public static final int ADVANCE
- See Also:
- Constant Field Values
COMBAT_EXTEND_TIME
public static final double COMBAT_EXTEND_TIME
- See Also:
- Constant Field Values
COMBAT_WARNING_STRING
public static final String COMBAT_WARNING_STRING
- See Also:
- Constant Field Values
ATTACK_OUT_OF_RANGE_STRING
public static final String ATTACK_OUT_OF_RANGE_STRING
- See Also:
- Constant Field Values
TARGET_DESTROYED_STRING
public static final String TARGET_DESTROYED_STRING
- See Also:
- Constant Field Values
ALLREADY_IN_COMBAT_STRING
public static final String ALLREADY_IN_COMBAT_STRING
- See Also:
- Constant Field Values
CANT_ATTACK_THIS_UNIT_TYPE_STRING
public static final String CANT_ATTACK_THIS_UNIT_TYPE_STRING
- See Also:
- Constant Field Values
COMBAT_ENDED_STRING
public static final String COMBAT_ENDED_STRING
- See Also:
- Constant Field Values
ENEMY_LOSSES_STRING
public static final String ENEMY_LOSSES_STRING
- See Also:
- Constant Field Values
OWN_LOSSES_STRING
public static final String OWN_LOSSES_STRING
- See Also:
- Constant Field Values
COMBAT_RESULT_TABLE
public static final int[][] COMBAT_RESULT_TABLE
A_PROTECT
public static final int A_PROTECT
- See Also:
- Constant Field Values
B_PROTECT
public static final int B_PROTECT
- See Also:
- Constant Field Values
C_PROTECT
public static final int C_PROTECT
- See Also:
- Constant Field Values
DEF_PROTECT
public static final int DEF_PROTECT
- See Also:
- Constant Field Values
SEA_INDIRECT_FIRE_PROTECTION_FACTOR
public static final double SEA_INDIRECT_FIRE_PROTECTION_FACTOR
- See Also:
- Constant Field Values
CLEAR_INDIRECT_FIRE_PROTECTION_FACTOR
public static final double CLEAR_INDIRECT_FIRE_PROTECTION_FACTOR
- See Also:
- Constant Field Values
SWAMP_INDIRECT_FIRE_PROTECTION_FACTOR
public static final double SWAMP_INDIRECT_FIRE_PROTECTION_FACTOR
- See Also:
- Constant Field Values
RIVER_INDIRECT_FIRE_PROTECTION_FACTOR
public static final double RIVER_INDIRECT_FIRE_PROTECTION_FACTOR
- See Also:
- Constant Field Values
WOODED_INDIRECT_FIRE_PROTECTION_FACTOR
public static final double WOODED_INDIRECT_FIRE_PROTECTION_FACTOR
- See Also:
- Constant Field Values
FOREST_INDIRECT_FIRE_PROTECTION_FACTOR
public static final double FOREST_INDIRECT_FIRE_PROTECTION_FACTOR
- See Also:
- Constant Field Values
BEACH_INDIRECT_FIRE_PROTECTION_FACTOR
public static final double BEACH_INDIRECT_FIRE_PROTECTION_FACTOR
- See Also:
- Constant Field Values
RAILROAD_INDIRECT_FIRE_PROTECTION_FACTOR
public static final double RAILROAD_INDIRECT_FIRE_PROTECTION_FACTOR
- See Also:
- Constant Field Values
TOWN_INDIRECT_FIRE_PROTECTION_FACTOR
public static final double TOWN_INDIRECT_FIRE_PROTECTION_FACTOR
- See Also:
- Constant Field Values
VILLAGE_INDIRECT_FIRE_PROTECTION_FACTOR
public static final double VILLAGE_INDIRECT_FIRE_PROTECTION_FACTOR
- See Also:
- Constant Field Values
ROAD_LARGE_INDIRECT_FIRE_PROTECTION_FACTOR
public static final double ROAD_LARGE_INDIRECT_FIRE_PROTECTION_FACTOR
- See Also:
- Constant Field Values
ROAD_SMALL_INDIRECT_FIRE_PROTECTION_FACTOR
public static final double ROAD_SMALL_INDIRECT_FIRE_PROTECTION_FACTOR
- See Also:
- Constant Field Values
BRIDGE_INDIRECT_FIRE_PROTECTION_FACTOR
public static final double BRIDGE_INDIRECT_FIRE_PROTECTION_FACTOR
- See Also:
- Constant Field Values
DEFAULT_INDIRECT_FIRE_PROTECTION_FACTOR
public static final double DEFAULT_INDIRECT_FIRE_PROTECTION_FACTOR
- See Also:
- Constant Field Values
A_SPEED
public static final int A_SPEED
- See Also:
- Constant Field Values
B_SPEED
public static final int B_SPEED
- See Also:
- Constant Field Values
C_SPEED
public static final int C_SPEED
- See Also:
- Constant Field Values
DEF_SPEED
public static final int DEF_SPEED
- See Also:
- Constant Field Values
SEA_SPEED_DENOMINATOR
public static final double SEA_SPEED_DENOMINATOR
- See Also:
- Constant Field Values
CLEAR_SPEED_DENOMINATOR
public static final double CLEAR_SPEED_DENOMINATOR
- See Also:
- Constant Field Values
SWAMP_SPEED_DENOMINATOR
public static final double SWAMP_SPEED_DENOMINATOR
- See Also:
- Constant Field Values
RIVER_SPEED_DENOMINATOR
public static final double RIVER_SPEED_DENOMINATOR
- See Also:
- Constant Field Values
WOODED_SPEED_DENOMINATOR
public static final double WOODED_SPEED_DENOMINATOR
- See Also:
- Constant Field Values
FOREST_SPEED_DENOMINATOR
public static final double FOREST_SPEED_DENOMINATOR
- See Also:
- Constant Field Values
BEACH_SPEED_DENOMINATOR
public static final double BEACH_SPEED_DENOMINATOR
- See Also:
- Constant Field Values
RAILROAD_SPEED_DENOMINATOR
public static final double RAILROAD_SPEED_DENOMINATOR
- See Also:
- Constant Field Values
TOWN_SPEED_DENOMINATOR
public static final double TOWN_SPEED_DENOMINATOR
- See Also:
- Constant Field Values
VILLAGE_SPEED_DENOMINATOR
public static final double VILLAGE_SPEED_DENOMINATOR
- See Also:
- Constant Field Values
ROAD_LARGE_SPEED_DENOMINATOR
public static final double ROAD_LARGE_SPEED_DENOMINATOR
- See Also:
- Constant Field Values
ROAD_SMALL_SPEED_DENOMINATOR
public static final double ROAD_SMALL_SPEED_DENOMINATOR
- See Also:
- Constant Field Values
ROAD_FOREST_SPEED_DENOMINATOR
public static final double ROAD_FOREST_SPEED_DENOMINATOR
- See Also:
- Constant Field Values
BRIDGE_SPEED_DENOMINATOR
public static final double BRIDGE_SPEED_DENOMINATOR
- See Also:
- Constant Field Values
DEFAULT_SPEED_DENOMINATOR
public static final double DEFAULT_SPEED_DENOMINATOR
- See Also:
- Constant Field Values
SPEED_FACTOR_ONE
public static final double SPEED_FACTOR_ONE
- See Also:
- Constant Field Values
SPEED_FACTOR_TWO
public static final double SPEED_FACTOR_TWO
- See Also:
- Constant Field Values
SPEED_FACTOR_THREE
public static final double SPEED_FACTOR_THREE
- See Also:
- Constant Field Values
SPEED_FACTOR_FOUR
public static final double SPEED_FACTOR_FOUR
- See Also:
- Constant Field Values
SPEED_FACTOR_FIVE
public static final double SPEED_FACTOR_FIVE
- See Also:
- Constant Field Values
SEA_ATTACK_PROTECTION_FACTOR
public static final double SEA_ATTACK_PROTECTION_FACTOR
- See Also:
- Constant Field Values
CLEAR_ATTACK_PROTECTION_FACTOR
public static final double CLEAR_ATTACK_PROTECTION_FACTOR
- See Also:
- Constant Field Values
SWAMP_ATTACK_PROTECTION_FACTOR
public static final double SWAMP_ATTACK_PROTECTION_FACTOR
- See Also:
- Constant Field Values
RIVER_ATTACK_PROTECTION_FACTOR
public static final double RIVER_ATTACK_PROTECTION_FACTOR
- See Also:
- Constant Field Values
WOODED_ATTACK_PROTECTION_FACTOR
public static final double WOODED_ATTACK_PROTECTION_FACTOR
- See Also:
- Constant Field Values
FOREST_ATTACK_PROTECTION_FACTOR
public static final double FOREST_ATTACK_PROTECTION_FACTOR
- See Also:
- Constant Field Values
BEACH_ATTACK_PROTECTION_FACTOR
public static final double BEACH_ATTACK_PROTECTION_FACTOR
- See Also:
- Constant Field Values
RAILROAD_ATTACK_PROTECTION_FACTOR
public static final double RAILROAD_ATTACK_PROTECTION_FACTOR
- See Also:
- Constant Field Values
TOWN_ATTACK_PROTECTION_FACTOR
public static final double TOWN_ATTACK_PROTECTION_FACTOR
- See Also:
- Constant Field Values
VILLAGE_ATTACK_PROTECTION_FACTOR
public static final double VILLAGE_ATTACK_PROTECTION_FACTOR
- See Also:
- Constant Field Values
ROAD_LARGE_ATTACK_PROTECTION_FACTOR
public static final double ROAD_LARGE_ATTACK_PROTECTION_FACTOR
- See Also:
- Constant Field Values
ROAD_SMALL_ATTACK_PROTECTION_FACTOR
public static final double ROAD_SMALL_ATTACK_PROTECTION_FACTOR
- See Also:
- Constant Field Values
BRIDGE_ATTACK_PROTECTION_FACTOR
public static final double BRIDGE_ATTACK_PROTECTION_FACTOR
- See Also:
- Constant Field Values
DEFAULT_ATTACK_PROTECTION_FACTOR
public static final double DEFAULT_ATTACK_PROTECTION_FACTOR
- See Also:
- Constant Field Values
BLOCKED_PROPERTIES_ARRAY
public static final String[] BLOCKED_PROPERTIES_ARRAY
LOW_FUEL_LEVEL
public static final double LOW_FUEL_LEVEL
- See Also:
- Constant Field Values
CRITICAL_FUEL_LEVEL
public static final double CRITICAL_FUEL_LEVEL
- See Also:
- Constant Field Values
LOW_FUEL_LEVEL_SPEED_FACTOR
public static final double LOW_FUEL_LEVEL_SPEED_FACTOR
- See Also:
- Constant Field Values
CRITICAL_FUEL_LEVEL_SPEED_FACTOR
public static final double CRITICAL_FUEL_LEVEL_SPEED_FACTOR
- See Also:
- Constant Field Values
FUEL_CONSUMPTION_COMBAT
public static final double FUEL_CONSUMPTION_COMBAT
- See Also:
- Constant Field Values
LOW_AMMUNITION_LEVEL
public static final double LOW_AMMUNITION_LEVEL
- See Also:
- Constant Field Values
CRITICAL_AMMUNITION_LEVEL
public static final double CRITICAL_AMMUNITION_LEVEL
- See Also:
- Constant Field Values
LOW_AMMUNITION_LEVEL_ATTACK_FACTOR
public static final double LOW_AMMUNITION_LEVEL_ATTACK_FACTOR
- See Also:
- Constant Field Values
CRITICAL_AMMUNITION_LEVEL_DEFENCE_FACTOR
public static final double CRITICAL_AMMUNITION_LEVEL_DEFENCE_FACTOR
- See Also:
- Constant Field Values
AMMUNITION_CONSUMPTION_MIN
public static final int AMMUNITION_CONSUMPTION_MIN
- See Also:
- Constant Field Values
AMMUNITION_CONSUMPTION_SPREAD
public static final int AMMUNITION_CONSUMPTION_SPREAD
- See Also:
- Constant Field Values
REGAIN_HEALT_FACTOR
public static final double REGAIN_HEALT_FACTOR
- See Also:
- Constant Field Values
REGAIN_FUEL_VALUE
public static final double REGAIN_FUEL_VALUE
- See Also:
- Constant Field Values
REGAIN_AMMUNITION_VALUE
public static final int REGAIN_AMMUNITION_VALUE
- See Also:
- Constant Field Values
REGAIN_STRENGTH_TIME
public static final int REGAIN_STRENGTH_TIME
- See Also:
- Constant Field Values
Def
public Def()
getStepLength
public static double getStepLength()
getSystemRoleName
public static String getSystemRoleName()
getForceName
public static String getForceName(int force)
getRetreatBase
public static int[] getRetreatBase(int force)
getMaxRoadWidth
public static int getMaxRoadWidth()
getWinnerIsString
public static String getWinnerIsString()
getCoffeeBreakMessage
public static String getCoffeeBreakMessage()
getWarningString
public static String getWarningString()
getUnitDestroyedWarningString
public static String getUnitDestroyedWarningString()
getEnemySpotedString
public static String getEnemySpotedString()
getDestinationReachedString
public static String getDestinationReachedString()
getCantMoveOutOfMapString
public static String getCantMoveOutOfMapString()
getCantMoveToWaterString
public static String getCantMoveToWaterString()
getMustStartOnRouteString
public static String getMustStartOnRouteString()
getMustEndOnRouteString
public static String getMustEndOnRouteString()
getMovementPropertyString
public static String getMovementPropertyString()
getProtectionPropertyString
public static String getProtectionPropertyString()
getHealthPropertyString
public static String getHealthPropertyString()
getAttackPropertyString
public static String getAttackPropertyString()
getDefencePropertyString
public static String getDefencePropertyString()
getIndirectFirePropertyString
public static String getIndirectFirePropertyString()
getStatusPropertyString
public static String getStatusPropertyString()
getAmmunitionPropertyString
public static String getAmmunitionPropertyString()
getFuelPropertyString
public static String getFuelPropertyString()
getSpeedFactorString
public static String getSpeedFactorString()
getLastVisitorChangedString
public static String getLastVisitorChangedString()
getCantBeginMovementMessage
public static String getCantBeginMovementMessage()
getReloadPropertyString
public static String getReloadPropertyString()
getInitialReloadingString
public static String getInitialReloadingString()
getReloadExtendTime
public static double getReloadExtendTime(WarUnit wu)
getNrOfReloadingSteps
public static int getNrOfReloadingSteps()
getRegainStrengthPropertyString
public static String getRegainStrengthPropertyString()
getInitialRegainStrengthString
public static String getInitialRegainStrengthString()
getNrOfRegainStrengthSteps
public static int getNrOfRegainStrengthSteps()
getRegainStrengthAbortedString
public static String getRegainStrengthAbortedString()
getIndirectFireDispersion
public static int getIndirectFireDispersion(WarUnit wu)
getIndirectFireExtendTime
public static double getIndirectFireExtendTime(WarUnit wu)
getIndirectFireString
public static String getIndirectFireString()
getIndirectFireStartedString
public static String getIndirectFireStartedString()
getIndirectFireCompletedString
public static String getIndirectFireCompletedString()
getIndirectFireWarningString
public static String getIndirectFireWarningString()
getTimeToShowIndirectFire
public static double getTimeToShowIndirectFire()
getDisturbedTime
public static double getDisturbedTime()
getDisturbedPerformanceFactor
public static double getDisturbedPerformanceFactor()
getIndirectFireOutOfRangeMessage
public static String getIndirectFireOutOfRangeMessage()
getIndirectFireMaxRadius
public static double getIndirectFireMaxRadius()
getIndirectFireMaxRadius
returns the outer range
for the artillery in map pixels
- Returns:
- a
double
value
getIndirectFireMinRadius
public static double getIndirectFireMinRadius()
getIndirectFireMinRadius
returns the minimum innre range
for the artillery in map pixels
- Returns:
- a
double
value
isWhithinIndirectFireRange
public static boolean isWhithinIndirectFireRange(double distance)
- Retruns true if distance (in map pixels) is whithin the range defined in Def.java
- Parameters:
distance
- a double
value
- Returns:
- a
boolean
value
getResultOfArtilleryFire
public static int getResultOfArtilleryFire(int fireFactor,
int protectionFactor)
getCombatExtendTime
public static double getCombatExtendTime()
getCombatWarningString
public static String getCombatWarningString()
getAllreadyInCombatMessage
public static String getAllreadyInCombatMessage()
cantAttackThisUnitTypeMessage
public static String cantAttackThisUnitTypeMessage()
getCombatEndedString
public static String getCombatEndedString()
getEnemyLossesString
public static String getEnemyLossesString()
getOwnLossesString
public static String getOwnLossesString()
getAttackRadius
public static double getAttackRadius()
- Returns the attackRadius in map pixels
- Returns:
- a
double
value
getAttackOutOfRangeMessage
public static String getAttackOutOfRangeMessage()
getTargetDestroyedMessage
public static String getTargetDestroyedMessage()
getResutltOfCombat
public static int[] getResutltOfCombat(int attackFactor,
int defendFactor)
- Return the result of combat as a integer array containing first
the result for the attacker and then the result for the defender
- Parameters:
attackFactor
- an int
valuedefendFactor
- an int
value
- Returns:
- an
int[][]
value
getSpeed
public static int getSpeed(String level)
speedFactorConverter
public static double speedFactorConverter(int intFactor)
getTerrainSpeedDenominator
public static double getTerrainSpeedDenominator(int groundState)
getProtection
public static int getProtection(String level)
getTerrainIndirectFireProtectionFactor
public static double getTerrainIndirectFireProtectionFactor(int groundState)
getTerrainAttackProtectionFactor
public static double getTerrainAttackProtectionFactor(int groundState)
isPropertyBlocked
public static boolean isPropertyBlocked(String s)
getLowFuelLevel
public static double getLowFuelLevel()
getCriticalFuelLevel
public static double getCriticalFuelLevel()
getLowFuelLevelSpeedFactor
public static double getLowFuelLevelSpeedFactor()
getCriticalFuelLevelSpeedFactor
public static double getCriticalFuelLevelSpeedFactor()
getFuelConsumptionCombat
public static double getFuelConsumptionCombat()
getLowAmmunitionLevel
public static double getLowAmmunitionLevel()
getCriticalAmmunitionLevel
public static double getCriticalAmmunitionLevel()
getLowAmmunitionLevelAttackFactor
public static double getLowAmmunitionLevelAttackFactor()
getCriticalAmmunitionLevelDefenceFactor
public static double getCriticalAmmunitionLevelDefenceFactor()
getAmmunitonConsumptionMin
public static int getAmmunitonConsumptionMin()
getAmmunitonConsumptionSpread
public static int getAmmunitonConsumptionSpread()
getRegainHealthFactor
public static double getRegainHealthFactor()
getRegainFuelValue
public static double getRegainFuelValue()
getRegainAmmunitionValue
public static int getRegainAmmunitionValue()
getRegainStrengthTime
public static int getRegainStrengthTime()