Package megamek.client.bot.princess
Class MultiTargetFireControl
java.lang.Object
megamek.client.bot.princess.FireControl
megamek.client.bot.princess.MultiTargetFireControl
Princess-Bot fire control class used to calculate firing plans for units that can shoot at multiple targets without
incurring a penalty.
-
Nested Class Summary
Nested classes/interfaces inherited from class megamek.client.bot.princess.FireControl
FireControl.FireControlType -
Field Summary
Fields inherited from class megamek.client.bot.princess.FireControl
CIVILIAN_TARGET_DISUTILITY, CRITICAL_UTILITY, DAMAGE_UTILITY, EJECTED_PILOT_DISUTILITY, KILL_UTILITY, OVERHEAT_DISUTILITY, OVERHEAT_DISUTILITY_AERO, owner, TARGET_HP_FRACTION_DEALT_UTILITY, TSM_ACTIVATION_UTILITY, TSM_DESIRED_HEAT, TSM_HEAT_CEILING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FiringPlancalculateFiringPlan(Entity shooter, List<WeaponMounted> weaponList) getBestFiringPlan(Entity shooter, IHonorUtil honorUtil, Game game, Map<WeaponMounted, Double> ammoConservation) Calculates the best firing plan for a particular entity, assuming that everybody has already moved.Methods inherited from class megamek.client.bot.princess.FireControl
applyTsmHeatIncentive, calcCivilianTargetDisutility, calcCommandUtility, calcHeatTolerance, calcHeatTolerance, calcPriorityUnitTargetUtility, calcStrategicBuildingTargetUtility, calcTargetPotentialDamageMultiplier, correctFacing, effectivelyAmmoless, entityCanIndirectFireMissile, firingActivatesTsm, getAttackerMovementModifier, getDiveBombPlan, getFindClubAction, getMaxDamageAtRange, getSearchLightAction, getSpotAction, getTargetableEnemyEntities, getTargetMovementModifier, getUnjamWeaponPlan, getValidFacingChanges, guessBestFiringPlanUnderHeat, guessDistance, isCommander, isInArc, isSubCommander
-
Constructor Details
-
MultiTargetFireControl
-
-
Method Details
-
getBestFiringPlan
public FiringPlan getBestFiringPlan(Entity shooter, IHonorUtil honorUtil, Game game, Map<WeaponMounted, Double> ammoConservation) Calculates the best firing plan for a particular entity, assuming that everybody has already moved. Assumes no restriction on number of units that may be targeted. -
calculateFiringPlan
-