Class InjuryTypes.ReplacementLimbRecovery
java.lang.Object
mekhq.campaign.personnel.InjuryType
mekhq.campaign.personnel.medical.advancedMedical.InjuryTypes.ReplacementLimbRecovery
- Enclosing class:
- InjuryTypes
-
Nested Class Summary
Nested classes/interfaces inherited from class mekhq.campaign.personnel.InjuryType
InjuryType.XMLAdapter -
Field Summary
Fields inherited from class mekhq.campaign.personnel.InjuryType
allowedLocations, BAD_HEALTH, fluffText, injuryEffect, injurySubType, level, maxSeverity, MOD_TAG_INJURY, permanent, recoveryTime, simpleName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFluffText(BodyLocation loc, int severity, megamek.common.enums.Gender gender) getModifiers(Injury inj) getName(BodyLocation loc, int severity) booleanDoes having this injury mean the location is missing? (Amputation, genetic defect, ...)booleanprotected intmodifyInjuryTime(Campaign campaign, Person person, int time) newInjury(Campaign campaign, Person person, BodyLocation bodyLocation, int severity) Methods inherited from class mekhq.campaign.personnel.InjuryType
byId, byKey, genStressEffect, getAllKeys, getAllowedLocations, getAllTypes, getBaseRecoveryTime, getId, getInjuryEffect, getKey, getLevel, getMaxSeverity, getRecoveryTime, getRecoveryTime, getSimpleName, getSimpleName, getSubType, impliesDead, isHidden, isPermanent, newResetRecoveryTimeAction, register, register
-
Constructor Details
-
ReplacementLimbRecovery
public ReplacementLimbRecovery()
-
-
Method Details
-
isValidInLocation
- Overrides:
isValidInLocationin classInjuryType
-
impliesMissingLocation
public boolean impliesMissingLocation()Description copied from class:InjuryTypeDoes having this injury mean the location is missing? (Amputation, genetic defect, ...)- Overrides:
impliesMissingLocationin classInjuryType
-
getName
- Overrides:
getNamein classInjuryType
-
getFluffText
- Overrides:
getFluffTextin classInjuryType
-
getModifiers
- Overrides:
getModifiersin classInjuryType
-
modifyInjuryTime
-
newInjury
- Overrides:
newInjuryin classInjuryType
-