Package mekhq.campaign.parts.protomeks
Class ProtoMekLegActuator
java.lang.Object
mekhq.campaign.parts.Part
mekhq.campaign.parts.protomeks.ProtoMekLegActuator
- 
Nested Class SummaryNested classes/interfaces inherited from class mekhq.campaign.parts.PartPart.PartPersonRef, Part.PartRef, Part.PartUnitRef
- 
Field SummaryFields inherited from class mekhq.campaign.parts.PartbrandNew, campaign, childParts, daysToArrival, daysToWait, hits, id, mode, name, omniPodded, parentPart, quality, quantity, resources, shorthandedMod, skillMin, TA_GENERIC, TA_POD, tech, timeSpent, unit, unitTonnage, unitTonnageMatters, usedForRefitPlanning, workingOvertimeFields inherited from interface megamek.common.interfaces.ITechnologyDATE_ES, DATE_NONE, DATE_PS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()voidfix()intGets a string containing details regarding the part, e.g.getDetails(boolean includeRepairDetails) Gets a string containing details regarding the part, and optionally include information on its repair status.intintSticker price is the value of the part according to the rulebooksmegamek.common.TechAdvancementmegamek.common.enums.TechBaseintdoublebooleanbooleanisPartForEquipmentNum(int index, int loc) booleanisRightTechType(String skillType) booleanisSamePartType(Part part) protected voidbooleanvoidremove(boolean salvage) voidupdateConditionFromEntity(boolean checkForDestruction) voidvoidwriteToXML(PrintWriter pw, int indent) Methods inherited from class mekhq.campaign.parts.PartaddChildPart, addTimeSpent, adjustCostsForCampaignOptions, adjustCostsForCampaignOptions, calcYearAvailability, cancelReservation, canChangeWorkMode, canNeverScrap, changeQuantity, checkScrappable, copyBaseData, decrementDaysToWait, decrementQuantity, doMaintenanceDamage, fail, findPartImage, fixReferences, generateInstanceFromXML, getAcquisitionWork, getActualTime, getActualValue, getAllMods, getAllModsForMaintenance, getArrivalReport, getAvailability, getBaseAvailability, getCampaign, getChildParts, getCommonDate, getCommonDate, getCurrentModeName, getDaysToArrival, getDaysToWait, getDesc, getExtinctionDate, getExtinctionDate, getExtinctionDate, getHits, getId, getIntroductionDate, getIntroductionDate, getIntroductionDate, getMode, getName, getParentPart, getPartName, getProductionDate, getProductionDate, getProductionDate, getPrototypeDate, getPrototypeDate, getPrototypeDate, getQuality, getQualityName, getQuantity, getQuantityForPartsInUse, getQuantityName, getRefitUnit, getReintroductionDate, getReintroductionDate, getReintroductionDate, getRepairDesc, getRepairPartType, getReplacementPart, getReservedBy, getSellableQuantity, getShoppingListReport, getShorthandedMod, getSimpleTechLevel, getSimpleTechLevel, getSimpleTechLevel, getSkillMin, getStaticTechLevel, getStatus, getTech, getTechBaseName, getTechBaseName, getTechRating, getTimeLeft, getTimeSpent, getTotalQuantity, getUndamagedValue, getUnit, getUnitTonnage, hasChildParts, hasParentPart, hasReplacementPart, hasWorkedOvertime, improveQuality, incrementQuantity, isBeingWorkedOn, isBrandNew, isClan, isClanTechBase, isInLocation, isInSupply, isIntroducedBy, isMixedTech, isOmniPoddable, isOmniPodded, isPartUsedOrReserved, isPresent, isPriceAdjustedForAmount, isReservedForRefit, isReservedForReplacement, isSalvaging, isSamePartTypeAndStatus, isSameStatus, isSpare, isTeamSalvaging, isUnitTonnageMatters, isUsedForRefitPlanning, needsMaintenance, onBadHipOrShoulder, postProcessCampaignAddition, reduceQuality, removeAllChildParts, removeChildPart, reservePart, resetDaysToWait, resetModeToNormal, resetOvertime, resetRepairSettings, resetTimeSpent, scrap, setBrandNew, setCampaign, setDaysToArrival, setHits, setId, setMode, setOmniPodded, setParentPart, setQuality, setQuantity, setRefitUnit, setReplacementPart, setReservedBy, setShorthandedMod, setSkillMin, setTech, setUnit, setUsedForRefitPlanning, setWorkedOvertime, succeed, toString, writeToXMLBegin, writeToXMLEndMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface mekhq.campaign.work.IPartWorkcancelAssignmentMethods inherited from interface megamek.common.interfaces.ITechnologycalcEraAvailability, calcEraAvailability, calcYearAvailability, calcYearAvailability, findMinimumRulesLevel, findMinimumRulesLevel, getAdvancedRange, getAdvancedRange, getCodeFromIOAbbr, getCodeFromMMAbbr, getEraAvailabilityName, getEraAvailabilityName, getExperimentalRange, getExperimentalRange, getExtinctionRange, getExtinctionRange, getFullRatingName, getFullRatingName, getSimpleLevel, getSimpleLevel, getSimpleLevel, getStandardRange, getStandardRange, getTechLevel, getTechLevel, getTechRatingName, isAvailableIn, isAvailableIn, isAvailableIn, isExtinct, isExtinct, isExtinct, isIntroLevel, isLegal, isLegal, isUnofficial
- 
Constructor Details- 
ProtoMekLegActuatorpublic ProtoMekLegActuator()
- 
ProtoMekLegActuator
 
- 
- 
Method Details- 
clone
- 
getTonnagepublic double getTonnage()- Specified by:
- getTonnagein class- Part
 
- 
getStickerPriceDescription copied from interface:IPartWorkSticker price is the value of the part according to the rulebooks- Returns:
- the part's sticker price
 
- 
isSamePartType- Specified by:
- isSamePartTypein class- Part
 
- 
writeToXML- Specified by:
- writeToXMLin class- Part
 
- 
fixpublic void fix()
- 
getTechBasepublic megamek.common.enums.TechBase getTechBase()- Specified by:
- getTechBasein interface- megamek.common.interfaces.ITechnology
- Overrides:
- getTechBasein class- Part
 
- 
getTechLevelpublic int getTechLevel()- Overrides:
- getTechLevelin class- Part
- Returns:
- TechConstants tech level
 
- 
getMissingPart
- 
removepublic void remove(boolean salvage) 
- 
updateConditionFromEntitypublic void updateConditionFromEntity(boolean checkForDestruction) 
- 
getBaseTimepublic int getBaseTime()
- 
getDifficultypublic int getDifficulty()- Returns:
- the base difficulty of this work unit
 
- 
needsFixingpublic boolean needsFixing()
- 
getDetailsDescription copied from class:PartGets a string containing details regarding the part, e.g. OmniPod or how many hits it has taken and its repair cost.- Specified by:
- getDetailsin interface- IPartWork
- Overrides:
- getDetailsin class- Part
- Returns:
- A string containing details regarding the part.
 
- 
getDetailsDescription copied from class:PartGets a string containing details regarding the part, and optionally include information on its repair status.- Specified by:
- getDetailsin interface- IPartWork
- Overrides:
- getDetailsin class- Part
- Parameters:
- includeRepairDetails-- trueif the details should include information such as the number of hits or how much it would cost to repair the part.
- Returns:
- A string containing details regarding the part.
 
- 
updateConditionFromPartpublic void updateConditionFromPart()
- 
checkFixable
- 
isMountedOnDestroyedLocationpublic boolean isMountedOnDestroyedLocation()- Overrides:
- isMountedOnDestroyedLocationin class- Part
 
- 
isPartForEquipmentNumpublic boolean isPartForEquipmentNum(int index, int loc) - Overrides:
- isPartForEquipmentNumin class- Part
 
- 
isRightTechType- Specified by:
- isRightTechTypein interface- IPartWork
- Overrides:
- isRightTechTypein class- Part
 
- 
loadFieldsFromXmlNode- Specified by:
- loadFieldsFromXmlNodein class- Part
 
- 
getLocationName- Specified by:
- getLocationNamein class- Part
 
- 
getLocationpublic int getLocation()
- 
getTechAdvancementpublic megamek.common.TechAdvancement getTechAdvancement()- Specified by:
- getTechAdvancementin class- Part
 
- 
getMRMSOptionType- Specified by:
- getMRMSOptionTypein interface- IPartWork
- Overrides:
- getMRMSOptionTypein class- Part
 
 
-