Class TWRulesHeat
java.lang.Object
megamek.common.rules.RulesHeat
megamek.common.rules.totalwarfare.TWRulesHeat
-
Nested Class Summary
Nested classes/interfaces inherited from class megamek.common.rules.RulesHeat
RulesHeat.LifeSupportHeat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckLifeSupportHeat(int damageHeat, boolean torsoMountedCockpit, boolean mtHeat, boolean bPainShunt) How does heat affect when life support is hit.explodeAmmo(ArrayList<CriticalSlot> ammoCriticals) Which ammo goes boom.intAttempts to stand generates heat
-
Constructor Details
-
TWRulesHeat
public TWRulesHeat()
-
-
Method Details
-
standingHeat
public int standingHeat()Attempts to stand generates heat- Specified by:
standingHeatin classRulesHeat- Returns:
- the heat generated by standing
-
checkLifeSupportHeat
@Nullable public RulesHeat.LifeSupportHeat checkLifeSupportHeat(int damageHeat, boolean torsoMountedCockpit, boolean mtHeat, boolean bPainShunt) How does heat affect when life support is hit. How does heat affect when life support is hit.- Specified by:
checkLifeSupportHeatin classRulesHeat- Parameters:
damageHeat- the damage heat valuetorsoMountedCockpit- true if the cockpit is torso-mountedmtHeat- true if using MT heat rulesbPainShunt- true if the pilot has a pain shunt- Returns:
- LifeSupportHeat This stores the heat level and damage amount
-
explodeAmmo
Which ammo goes boom. Ammo explosions from heat TW p.160- Specified by:
explodeAmmoin classRulesHeat- Parameters:
ammoCriticals- the list of ammo critical slots- Returns:
- the ammo critical slot that explodes, or null if none
-