Package megamek.common.units
Class AeroSpaceFighter
java.lang.Object
megamek.common.turns.TurnOrdered
megamek.common.units.Entity
megamek.common.units.Aero
megamek.common.units.AeroSpaceFighter
- All Implemented Interfaces:
Serializable
,Transporter
,InGameObject
,CombatRole
,ForceAssignable
,ITechnology
,ITurnOrdered
,PhaseUpdated
,RoundUpdated
,BTObject
,Deployable
,IAero
,IBomber
,Targetable
- Direct Known Subclasses:
ConvFighter
,FighterSquadron
AeroSpaceFighter subclass of Aero that encapsulates Fighter functionality
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class megamek.common.units.Entity
Entity.InvalidSourceBuildReason
-
Field Summary
Fields inherited from class megamek.common.units.Aero
AERO_EFFECTIVE_ELEVATION, CIVILIAN, COCKPIT_COMMAND_CONSOLE, COCKPIT_PRIMITIVE, COCKPIT_SHORT_STRING, COCKPIT_SMALL, COCKPIT_STANDARD, COCKPIT_STRING, COCKPIT_TA, CRIT_AVIONICS, CRIT_BOMB, CRIT_CARGO, CRIT_CIC, CRIT_CONTROL, CRIT_CREW, CRIT_DOCK_COLLAR, CRIT_DOOR, CRIT_ENGINE, CRIT_FCS, CRIT_FUEL_TANK, CRIT_GEAR, CRIT_GRAV_DECK, CRIT_HEATSINK, CRIT_KF_BOOM, CRIT_KF_DRIVE, CRIT_LEFT_THRUSTER, CRIT_LIFE_SUPPORT, CRIT_NONE, CRIT_RIGHT_THRUSTER, CRIT_SENSOR, CRIT_WEAPON, CRIT_WEAPON_BROAD, damThresh, designType, extBombChoices, HEAT_DOUBLE, HEAT_SINGLE, intBombChoices, LOC_AFT, LOC_FUSELAGE, LOC_LEFT_WING, LOC_NOSE, LOC_RIGHT_WING, LOC_WINGS, maxExtBombPoints, maxIntBombPoints, MILITARY, RAM_AWAY_DIR, RAM_AWAY_OBL, RAM_TOWARD_DIR, RAM_TOWARD_OBL, TA_ASF, TA_ASF_PRIMITIVE, usedInternalBombs
Fields inherited from class megamek.common.units.Entity
_isEMId, ALTERNATE_MASC_FAILURE, ALTERNATE_MASC_FAILURE_ENHANCED, altitude, ammoList, armorTechLevel, armorTechRating, armorTonnage, armorType, armsFlipped, asewAffectedTurns, aTracker, BLOOD_STALKER_TARGET_CLEARED, bMASCWentUp, bombList, boobyTrapInitiated, bSuperchargerWentUp, c3CompanyMasterIndex, c3Master, c3NetIdString, camouflage, canUnstickByJumping, carcass, chassis, clanChassisName, consecutiveRHSUses, convertingNow, coolFromExternal, crits, damageThisPhase, damageThisRound, delta_distance, designValid, destroyed, displacementAttack, DMG_CRIPPLED, DMG_HEAVY, DMG_LIGHT, DMG_MODERATE, DMG_NONE, dodging, DOES_NOT_TRACK_HEAT, done, doomed, elevation, engineHitsThisPhase, engineTechRating, equipmentList, ETYPE_AERO, ETYPE_AEROSPACE_FIGHTER, ETYPE_ARMLESS_MEK, ETYPE_BATTLEARMOR, ETYPE_BIPED_MEK, ETYPE_CONV_FIGHTER, ETYPE_DROPSHIP, ETYPE_FIGHTER_SQUADRON, ETYPE_FIXED_WING_SUPPORT, ETYPE_GUN_EMPLACEMENT, ETYPE_HANDHELD_WEAPON, ETYPE_INFANTRY, ETYPE_JUMPSHIP, ETYPE_LAND_AIR_MEK, ETYPE_LARGE_SUPPORT_TANK, ETYPE_MEK, ETYPE_MEKWARRIOR, ETYPE_PROTOMEK, ETYPE_QUAD_MEK, ETYPE_QUADVEE, ETYPE_SMALL_CRAFT, ETYPE_SPACE_STATION, ETYPE_SUPER_HEAVY_TANK, ETYPE_SUPPORT_TANK, ETYPE_SUPPORT_VTOL, ETYPE_TANK, ETYPE_TELEMISSILE, ETYPE_TRIPOD_MEK, ETYPE_VTOL, ETYPE_WARSHIP, externalId, facing, failedEquipmentList, fell, findingClub, firingSolutions, fluff, game, gotPavementOrRoadBonus, GRAPPLE_BOTH, GRAPPLE_LEFT, GRAPPLE_RIGHT, hardenedArmorDamaged, hasDamagedRHS, hasExternalSearchlight, heat, heatBuildup, heatFromExternal, heatSinkCoolantFailureFactor, hiddenActivationPhase, hullDown, icon, id, iGame, illuminated, iNarcPods, incomingGuidedAttacks, infernos, initialBV, inReverse, isCarefulStanding, isHidden, isJumpingNow, jumpMP, killerId, lastTarget, lastTargetDisplayName, layingMines, LOC_DESTROYED, LOC_NONE, locationBlownOff, locationBlownOffThisPhase, m_lNarcedBy, m_lPendingNarc, madePointblankShot, manualBV, manualShutdown, MASC_FAILURE, MAX_C3_NODES, MAX_C3i_NODES, military, miscList, mixedTech, model, moved, movedLastRound, movementMode, mpUsed, mpUsedLastRound, mulId, narcPods, nCrew, nMarines, nMASCLevel, nPassenger, nSuperchargerLevel, omni, owner, ownerId, pendingINarcPods, pendingNarcPods, previousMovementMode, prone, reckless, rolledForEngineExplosion, searchlightIsActive, sec_facing, secondaryPositions, selfDestructedThisTurn, selfDestructing, selfDestructInitiated, sensorContacts, shutDown, shutdownByBATaser, shutDownThisPhase, source, spotting, STARTING_ANY_NONE, startupThisPhase, struck, structuralTechRating, structureTechLevel, structureType, stuckInSwamp, TA_ARMORED_COMPONENT, TA_MIXED_TECH, TA_OMNI, TA_PATCHWORK_ARMOR, taggedBy, targetBay, taserFeedBackRounds, taserInterference, taserInterferenceHeat, taserInterferenceRounds, taserShutdownRounds, techLevel, tmTracker, totalWeaponList, traitorId, twistedPhase, underwaterRounds, unjammingRAC, UNLIMITED_JUMP_DOWN, usedMASC, usedSearchlight, usedSupercharger, useManualBV, vectors, walkMP, weaponBayList, weaponGroupList, weaponList, weight, wigeBonus, year
Fields inherited from interface megamek.common.units.IBomber
ALT_BOMB_ATTACK, DIVE_BOMB_ATTACK, SPACE_BOMB_ATTACK
Fields inherited from interface megamek.common.interfaces.ITechnology
DATE_ES, DATE_NONE, DATE_PS
Fields inherited from interface megamek.common.units.Targetable
TYPE_BLDG_IGNITE, TYPE_BLDG_TAG, TYPE_BUILDING, TYPE_ENTITY, TYPE_FLARE_DELIVER, TYPE_FUEL_TANK, TYPE_FUEL_TANK_IGNITE, TYPE_HEX_AERO_BOMB, TYPE_HEX_ARTILLERY, TYPE_HEX_BOMB, TYPE_HEX_CLEAR, TYPE_HEX_EXTINGUISH, TYPE_HEX_IGNITE, TYPE_HEX_SCREEN, TYPE_HEX_TAG, TYPE_I_NARC_POD, TYPE_MINEFIELD_CLEAR, TYPE_MINEFIELD_DELIVER, TYPE_SEARCHLIGHT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Recalculates the internal and external hardpoints that this aero unit has.void
damageLocation
(int loc) Method to enable mass location damaging, mainly for Fighter Squadronslong
int
Calculates a "generic" Battle Value that is based on the average of all units of this type and tonnage.int
boolean
Returns true when this object is an aerospace fighter (not conventional, nor Fixed-Wing Support) or of type AF for Alpha Strike.boolean
isBomber()
Fighters may carry external ordnance; Other Aerospace units with cargo bays and the Internal Bomb Bay quirk may carry bombs internally.boolean
Returns true when this object is a fighter (aerospace or conventional) including Fixed-Wing Support or of type CF/AF/SV(MV a) for Alpha Strike.boolean
Returns true when this object has the distinction between aerodyne and spheroid, i.e.int
reduceMPByBombLoad
(int t) void
setOriginalWalkMP
(int walkMP) Sets this entity's original walking movement pointsvoid
setWeight
(double weight) Methods inherited from class megamek.common.units.Aero
addClanCase, addEntityBonuses, addEquipment, addEscapeCraft, addSystemTechAdvancement, areWingsHit, autoSetCapArmor, autoSetFatalThresh, autoSetInternal, autoSetSI, autoSetThresh, availableBombLocation, calculateWalk, canChangeSecondaryFacing, canCharge, canDFA, canGoDown, canLoad, canRam, canSpot, chooseSideRam, clearBombChoices, clipSecondaryFacing, didAccDecNow, didAccLast, didFailManeuver, doDisbandDamage, doomedInAtmosphere, doomedInSpace, fuelTankHit, getActiveAMS, getAltLoss, getAltLossThisRound, getArmorRemainingPercent, getAvionicsHits, getAvionicsMisrepaired, getAvionicsMisReplaced, getBadCriticalSlots, getBodyLocation, getBVTypeModifier, getCap0Armor, getCapArmor, getCICHits, getClusterMods, getCockpitTechAdvancement, getCockpitTechAdvancement, getCockpitType, getCockpitTypeString, getCockpitTypeString, getConstructionTechAdvancement, getCost, getCritDamageString, getCriticalEffect, getCurrentDamage, getCurrentFuel, getCurrentThrust, getCurrentVelocity, getCurrentVelocityActual, getDesignType, getECCMBonus, getECCMRoll, getECCMStrength, getECCMTarget, getECMRange, getElevation, getEngineCritHeat, getEngineHits, getEnginesLostRound, getEscapeCraft, getEscapePods, getExtBombChoices, getFatalThresh, getFCSHits, getFlyingOffDirection, getForwardArc, getFuel, getFuelPointsPerTon, getFuelTonnage, getHeatCapacity, getHeatCapacityWithWater, getHeatSinkHits, getHeatSinks, getHeatType, getHighestThresh, getIgnoredCrewHits, getIntBombChoices, getInternalRemainingPercent, getLandingGearMod, getLandingGearPartialRepairs, getLaunchedEscapePods, getLaunchedLifeBoats, getLeftThrustHits, getLifeBoats, getLifeBoatsLeft, getLocationAbbreviations, getLocationDamage, getLocationNames, getMarineCount, getMarines, getMaxBombPoints, getMaxElevationChange, getMaxEngineHits, getMaxExtBombPoints, getMaxIntBombPoints, getMovementAbbr, getMovementString, getNBattleArmor, getNCrew, getNextVelocity, getNGunners, getNMarines, getNOfficers, getNoOfSlots, getNoseArmor, getNPassenger, getOHeatSinks, getOppositeLocation, getOriginalFuel, getOSI, getPodHeatSinks, getPodsLeft, getPotCrit, getPriceMultiplier, getRearArc, getRightThrustHits, getRunMP, getSensorHits, getSI, getSpriteDrawPriority, getStealthModifier, getStraightMoves, getStrategicFuelUse, getThresh, getTotalCommGearTons, getTransferLocation, getUsedInternalBombs, getWalkMP, getWeaponArc, getWeaponGroups, getWhoFirst, groupWeaponsByLocation, hasArmoredEngine, hasCase, hasCommandConsoleBonus, hasEjectSeat, hasLifeSupport, implicitClanCASE, increaseUsedInternalBombs, initializeSI, initializeThresh, isAero, isAeroSensorDestroyed, isAutoEject, isCondEjectAmmo, isCondEjectFuel, isCondEjectSIDest, isCrewProtected, isCrippled, isCrippled, isDmgHeavy, isDmgLight, isDmgModerate, isEjecting, isFlyingOff, isGearHit, isImmobile, isLocationProhibited, isNightwalker, isNuclearHardened, isOutControl, isOutControlHeat, isOutControlTotal, isPrimitive, isRandomMove, isRepairable, isRolled, isSecondaryArcWeapon, isStealthActive, isStealthOn, isSTOL, isValidSecondaryFacing, isVSTOL, locations, newRound, primitiveFuelFactor, resetAltLoss, resetAltLossThisRound, rollHitLocation, rollHitLocation, setAccDecNow, setAccLast, setAltLoss, setAltLossThisRound, setArmorType, setArmorType, setAutoEject, setAvionicsHits, setCapArmor, setCICHits, setCockpitType, setCondEjectAmmo, setCondEjectFuel, setCondEjectSIDest, setCritThresh, setCurrentDamage, setCurrentFuel, setCurrentVelocity, setDesignType, setDestroyed, setECCMRoll, setEjecting, setEngine, setEngineHits, setEnginesLostRound, setExtBombChoices, setFailedManeuver, setFCSHits, setFlyingOff, setFuel, setFuelTankHit, setFuelTonnage, setGearHit, setHeatSinks, setHeatType, setIgnoredCrewHits, setIntBombChoices, setLaunchedEscapePods, setLaunchedLifeBoats, setLeftThrustHits, setLifeSupport, setNextVelocity, setOHeatSinks, setOmni, setOSI, setOutControl, setOutControlHeat, setPodHeatSinks, setPotCrit, setRandomMove, setRightThrustHits, setRolled, setSensorHits, setSI, setSpheroid, setStraightMoves, setThresh, setUsedInternalBombs, setVSTOL, setWhoFirst, setWingsHit, sideTableRam, tracksHeat, updateSensorOptions, victoryReport, wasCritThresh
Methods inherited from class megamek.common.units.Entity
addAttackedByThisTurn, addBeenDetectedBy, addBeenSeenBy, addBomb, addBomb, addConditionBonuses, addCoolantFailureAmount, addCritical, addCritical, addCritical, addEquipment, addEquipment, addEquipment, addEquipment, addEquipment, addEquipment, addEquipment, addEquipment, addEquipment, addEquipment, addFailedEquipment, addFiringSolution, addGroundAttackedByThisTurn, addIMPHits, addKill, addOffBoardObserver, addPassedThrough, addPilotingModifierForTerrain, addPilotingModifierForTerrain, addPilotingModifierForTerrain, addPilotingModifierForTerrain, addSensorContact, addTargetedBySwarm, addTechComponent, addTowedUnit, addTransporter, addTransporter, addTsempHitThisTurn, addWeaponGroup, antiTSMVulnerable, applyDamage, applyGravityEffectsOnMP, armorStringFor, assignAMS, assignTMAMS, assignWeaponQuirk, attachINarcPod, attachNarcPod, braceLocation, C3MasterIs, calcElevation, calcElevation, calculateBattleValue, calculateBattleValue, calculateBattleValue, calculateBattleValue, calculateFreeC3MNodes, calculateFreeC3Nodes, canActivateBloodStalker, canAssaultDrop, canAssist, canBrace, canEscape, canFall, canFall, canFireWeapon, canFlee, canFlee, canFlipArms, canGoDown, canGoHullDown, canGoUp, canLayMine, canLoad, canonUnitWithInvalidBuild, canPickupGroundObject, canTow, canTransferCriticalSlots, canUnjamRAC, canUnstickByJumping, checkBogDown, checkDislodgeSwarmers, checkForMASCFailure, checkForSuperchargerFailure, checkGetUp, checkGunningIt, checkLandingInHeavyWoods, checkLandingOnBlackIce, checkLandingOnIce, checkLandingWithDamage, checkLandingWithPrototypeJJ, checkMovedTooFast, checkMovementInBuilding, checkRecklessMove, checkRubbleMove, checkRunningWithDamage, checkSideSlip, checkSkid, checkSprintingWithMASCAndSupercharger, checkSprintingWithMASCXorSupercharger, checkTurnModeFailure, checkUnstall, checkUsingOverdrive, checkWaterMove, checkWaterMove, chooseSide, clearAttackedByThisTurn, clearBombs, clearDestroyedNarcPods, clearDetectedBy, clearFiringSolutions, clearNarcAndiNarcPods, clearPartialRepairs, clearSeenBy, clearSensorContacts, climbMode, countEquipment, countForStrengthSum, countMisc, countPartialRepairs, countQuirks, countQuirks, countWeaponQuirks, countWorkingMisc, countWorkingMisc, countWorkingMisc, critStateCount, damageBayDoor, damagedJumpJets, damageDockCollar, damageDoorRecovery, damagedSCMCritCount, damageSystem, damageSystem, deactivateRadicalHS, defaultCrewType, deployOffBoard, destroy, destroyLocation, destroyLocation, destroyOneSearchlight, destroyRetractableBlade, disconnectUnit, doBattleValueCalculation, doCheckEngineStallRoll, doomedInExtremeTemp, doomedInVacuum, doomedOnGround, dropGroundObject, dropGroundObject, dropGroundObjects, elevationOccupied, elevationOccupied, endOfTurnCargoInteraction, entityIsQuad, equals, extendBlade, factionTechLevel, findTargetedDisplacement, firstArmorIndex, fixElevation, formatHeat, gameOptions, generalName, generateDisplayName, generateShortName, getActiveSensor, getActiveSubEntities, getActiveUMUCount, getActiveVibrobladeHeat, getActiveVibrobladeHeat, getAllGyroCodeName, getAllowedPhysicalAttacks, getAllTowedUnits, getAllUMUCount, getAlreadyTwisted, getAlternateCost, getAltitude, getAmmo, getAmmo, getAmmo, getAnyTypeMaxJumpMP, getArmedMPBoosters, getArmor, getArmor, getArmor, getArmoredComponentTechAdvancement, getArmorForReal, getArmorForReal, getArmorString, getArmorString, getArmorTechLevel, getArmorTechRating, getArmorType, getArmorWeight, getArmorWeight, getArmsFlipped, getASEWAffected, getAttackedByThisTurn, getBAPRange, getBARRating, getBase64Icon, getBaseAvailability, getBaseChassisFireConWeight, getBaseChassisValue, getBaseEngineValue, getBasePilotingRoll, getBasePilotingRoll, getBay, getBayByAmmo, getBayById, getBayLoadedUnitIds, getBayPersonnel, getBlockedFiringLocations, getBloodStalkerTarget, getBlueShieldRounds, getBoardId, getBombLoadout, getBombLoadout, getBombs, getBombs, getBoobyTrap, getBoobyTrapDamage, getBraceMPCost, getBvCalculator, getC3iNextUUIDAsString, getC3Master, getC3MasterId, getC3MasterIsUUIDAsString, getC3NetId, getC3Top, getC3UUIDAsString, getCamouflage, getCamouflageOrElse, getCamouflageOrElse, getCamouflageOrElseOwners, getCargoMpReduction, getCarriedObject, getCarriedObjects, getChassis, getClanChassisName, getClubs, getCollarById, getCommonDate, getCommonDateRange, getConnectedUnits, getConsecutiveRHSUses, getConversionMode, getCoolantFailureAmount, getCost, getCrew, getCritical, getCriticalSlots, getCustomWeaponOrder, getCustomWeaponOrder, getDamagedCriticalSlots, getDamageLevel, getDamageLevel, getDamageReductionFromModularArmor, getDefaultPickupLocations, getDependentLocation, getDeployRound, getDisplacementAttack, getDisplayName, getDistinctCarriedObjects, getDockingCollars, getDocks, getDocks, getDroppableUnits, getDuplicateMarker, getEarliestTechDate, getEarliestTechDateAndEra, getECCMInfo, getECMInfo, getECMStrength, getEmptyCriticalSlots, getEngine, getEngineTechRating, getEngineType, getEntityMajorTypeName, getEntityTypeName, getEquipment, getEquipment, getEquipmentForWeaponQuirk, getEquipmentNum, getEquipmentType, getEvasionBonus, getExteriorUnitAt, getExternalBombLoadout, getExternalId, getExternalIdAsString, getExternalUnits, getExtinctionDate, getExtinctionDate, getExtinctionRange, getExtraC3BV, getExtraCommGearTons, getExtremeRangeModifier, getFacing, getFacingName, getFailedEquipment, getFighterBays, getFiringSolutions, getFleeZone, getFluff, getFluffImage, getForceId, getForceString, getFreeC3iUUID, getFreeNC3UUID, getFullChassis, getGame, getGaveKillCredit, getGhostTargetOverride, getGhostTargetRoll, getGhostTargetRollMoS, getGoodCriticalSlots, getGrappled, getGrappleSide, getGroundAttackedByThisTurn, getGyroType, getHeading, getHeat, getHeatCapacity, getHeatFiringModifier, getHeatInArc, getHeatMPReduction, getHeight, getHiddenActivationPhase, getHitchCarrying, getHitchLocations, getHitCriticalSlots, getHittableCriticalSlots, getHQIniBonus, getIcon, getId, getImpLastTurn, getINarcPodsAttached, getIndividualWeaponList, getInitialBV, getInternal, getInternal, getInternalBombLoadout, getInternalForReal, getInternalString, getIntroductionDate, getIntroductionDate, getIntroductionDateAndEra, getInvalidSourceBuildReasons, getIsJumpingNow, getJumpHeat, getJumpMP, getJumpMP, getJumpMPWithTerrain, getJumpType, getKillerId, getKillNumber, getKills, getLabArmorTonnage, getLabTotalArmorPoints, getLastTarget, getLastTargetDisplayName, getLaunchableDropships, getLaunchableFighters, getLaunchableSmallCraft, getLoadedKeepers, getLoadedTrailers, getLoadedUnits, getLocationAbbr, getLocationAbbr, getLocationFromAbbr, getLocationName, getLocationName, getLocationStatus, getLongRangeModifier, getLOSRangeModifier, getManualBV, getMASC, getMASCTarget, getMASCTurns, getMaxElevationDown, getMaxElevationDown, getMaxWeaponRange, getMaxWeaponRange, getMechanicalJumpBoosterMP, getMechanicalJumpBoosterMP, getMediumRangeModifier, getMisc, getMisc, getMiscEquipment, getMixedTechAdvancement, getModel, getMotiveSideMod, getMovedBackwards, getMovementBeforeSkidPSRModifier, getMovementMode, getMovementModeAsString, getMPBoosters, getMPBoosters, getMpUsedLastRound, getMulId, getNC3NextUUIDAsString, getNewRoundNovaNetworkString, getNextSensor, getNumberOfCriticalSlots, getNumberOfCriticalSlots, getNumberOfCriticalSlots, getNumberOfCriticalSlots, getNumberOfShields, getOArmor, getOArmor, getOArmor, getOccupiedCoords, getOffBoardDirection, getOffBoardDistance, getOInternal, getOInternal, getOmniAdvancement, getOmniAdvancement, getOriginalBuildYear, getOriginalJumpMP, getOriginalJumpMP, getOriginalNovaC3NetId, getOriginalRunMP, getOriginalWalkMP, getOwner, getOwnerId, getPartialRepairs, getPassedThrough, getPassedThroughBoardId, getPassedThroughFacing, getPatchworkArmorAdvancement, getPickedUpMekWarriors, getPlayerPickedPassThrough, getPodMountedTroopCarryingSpace, getPosition, getPowerAmplifierWeight, getPriorPosition, getProductionDate, getProductionDate, getProductionDateRange, getPrototypeDate, getPrototypeDate, getPrototypeRangeDate, getQuirkIniBonus, getQuirkList, getQuirks, getRecoveryTurn, getReintroductionDate, getReintroductionDate, getRemovalCondition, getRetreatedDirection, getRole, getRunHeat, getRunMP, getRunMPasString, getRunMPasString, getRunMPWithoutMASC, getRunningGravityLimit, getsAutoExternalSearchlight, getSecondaryFacing, getSecondaryPositions, getSelfDestructedThisTurn, getSelfDestructing, getSelfDestructInitiated, getSensorCheck, getSensorContacts, getSensors, getShortName, getShortNameRaw, getShortRangeModifier, getSource, getSpotTargetId, getSprintHeat, getSprintMP, getSprintMP, getSprintMPWithOneMASC, getSprintMPWithoutMASC, getStandingHeat, getStartingAnyNWx, getStartingAnyNWx, getStartingAnyNWy, getStartingAnyNWy, getStartingAnySEx, getStartingAnySEx, getStartingAnySEy, getStartingAnySEy, getStartingOffset, getStartingOffset, getStartingPos, getStartingPos, getStartingWidth, getStartingWidth, getStaticTechLevel, getStrength, getStructuralTechRating, getStructureTechLevel, getStructureType, getSubEntities, getSuperCharger, getSuperchargerTarget, getSuperchargerTurns, getSwarmAttackerId, getSwarmTargetId, getTaggedBy, getTargetBay, getTargetedBySwarm, getTargetType, getTaserFeedBackRounds, getTaserInterference, getTaserInterferenceHeat, getTaserInterferenceRounds, getTaserShutdownRounds, getTechBase, getTechBaseDescription, getTechBaseDescriptions, getTechLevel, getTechLevelYear, getTechRating, getTilesetModeString, getTMTracker, getTotalAmmoOfType, getTotalArmor, getTotalInternal, getTotalMunitionsOfType, getTotalOArmor, getTotalOInternal, getTotalWeaponList, getTowedBy, getTowing, getTractor, getTraitorId, getTransferLocation, getTransportBays, getTransportId, getTransports, getTroopCarryingSpace, getTrooperAtLocation, getTsempEffect, getTsempHitsThisTurn, getUnitNumber, getUnitsUnloadableFromBays, getUnitsUnloadableFromNonBays, getUnloadableUnits, getUnused, getUnused, getUnusedString, getUnusedString, getUseManualBV, getValidBraceLocations, getValidHalfWeightPickupLocations, getVector, getVectors, getVelocity, getVibroClaws, getWalkHeat, getWalkMP, getWeapon, getWeaponBayList, getWeaponGroupList, getWeaponList, getWeapons, getWeaponSortOrder, getWeight, getWeightClass, getWeightClassName, getWhoCanDetect, getWhoCanSee, getYear, hasAbility, hasAbility, hasActivatedRadicalHS, hasActiveBlueShield, hasActiveECCM, hasActiveECM, hasActiveECM, hasActiveEiCockpit, hasActiveNovaCEWS, hasActiveShield, hasActiveShield, hasAimModeTargComp, hasAnyC3System, hasAnyTypeNarcPodsAttached, hasArcFired, hasArmoredChassis, hasBAP, hasBAP, hasBARArmor, hasBattleArmorHandles, hasBoobyTrap, hasBoostedC3, hasC3, hasC3i, hasC3M, hasC3MM, hasC3S, hasCASEII, hasCASEII, hasDamagedRHS, hasDetectedEntity, hasDisplacementAttack, hasDroneOs, hasECM, hasEiCockpit, hasEmbeddedIcon, hasEngine, hasEnvironmentalSealing, hasETypeFlag, hasExternalSearchlight, hasFallen, hasFiredTsemp, hasFiringSolutionFor, hasFleeZone, hasFlotationHull, hasFunctionalArmAES, hasFunctionalLegAES, hasGhostTargets, hasHardenedArmor, hasHarJelIn, hashCode, hasHierarchicalC3, hasHipCrit, hasINarcPodsAttached, hasInfernoAmmo, hasLegActuatorCrit, hasLinkedMGA, hasMisc, hasMisc, hasMisc, hasModularArmor, hasModularArmor, hasMulId, hasNarcPodsAttached, hasNavalC3, hasNhC3, hasNoDefenseShield, hasNovaCEWS, hasOccupiedHex, hasPassiveShield, hasPassiveShield, hasPatchworkArmor, hasQuirk, hasRearArmor, hasSCM, hasSearchlight, hasSeenEntity, hasSensorContactFor, hasShield, hasStealth, hasSystem, hasTAG, hasTargComp, hasUMU, hasUndamagedCriticalSlots, hasUnloadedUnitsFromBays, hasViableWeapons, hasVibroblades, hasWorkingMisc, hasWorkingMisc, hasWorkingMisc, hasWorkingMisc, hasWorkingSCM, hasWorkingSystem, height, hitAllCriticalSlots, incrementMASCAndSuperchargerLevels, initializeArmor, initializeInternal, initMilitary, initTechAdvancement, isActive, isActive, isActiveOption, isAeroLandedOnGroundMap, isAirborne, isAirborneAeroOnGroundMap, isAirborneVTOLorWIGE, isAssaultDropInProgress, isAttackingThisTurn, isBATaserShutdown, isBoardProhibited, isBoardProhibited, isBoobyTrapInitiated, isBracing, isC3CompanyCommander, isC3IndependentMaster, isCanon, isCapitalFighter, isCapitalFighter, isCapitalScale, isCaptured, isCarcass, isCarefulStand, isChainWhipGrappled, isChameleonShieldActive, isChameleonShieldOn, isCharging, isClan, isClanArmor, isClearingMinefield, isCommander, isConvertingNow, isDeployed, isDesignValid, isDestroyed, isDetectedByEnemy, isDone, isDoomed, isDropping, isEjectionPossible, isElevationValid, isEligibleFor, isEligibleForArtyAutoHitHexes, isEligibleForFiring, isEligibleForMovement, isEligibleForOffboard, isEligibleForPavementOrRoadBonus, isEligibleForPhysical, isEligibleForTargetingPhase, isEnemyOf, isEvading, isEverSeenByEnemy, isFindingClub, isFiredTsempThisTurn, isGrappleAttacker, isGrappledThisRound, isGyroDestroyed, isHardenedArmorDamaged, isHidden, isHullDown, isIlluminated, isImmobile, isImmobileForJump, isINarcedBy, isINarcedWith, isInBuilding, isIntroLevel, isJumpingWithMechanicalBoosters, isLargeCraft, isLayingMines, isLoadableThisTurn, isLocationBad, isLocationBlownOff, isLocationBlownOffThisPhase, isLocationDeadly, isLocationDeadly, isLocationDoomed, isLocationProhibited, isLocationProhibited, isLocationProhibited, isLocationProhibited, isLocationTrulyDestroyed, isMakingDfa, isMakingVTOLGroundAttack, isManualShutdown, isMASCUsed, isMilitary, isMixedTech, isNarcedBy, isNaval, isNOE, isNullSigActive, isNullSigOn, isOffBoard, isOffBoardObserved, isOmni, isOnAtmosphericGroundMap, isPartOfFighterSquadron, isPermanentlyImmobilized, isPodMountedTransport, isPowerReverse, isProne, isPushing, isRamming, isReckless, isSalvage, isSelectableThisTurn, isSensorReturn, isShutDown, isShutDownThisPhase, isSpaceborne, isSpotting, isStalled, isStartupThisPhase, isStuck, isSufferingEMI, isSuperchargerUsed, isSuperHeavy, isSurfaceNaval, isTargetable, isTargetOfDisplacementAttack, isTractor, isTrailer, isTransported, isTrapped, isUnderwater, isUnjammingRAC, isUnloadedThisTurn, isUnofficial, isUsingManAce, isUsingSearchlight, isVisibleToEnemy, isVoidSigActive, isVoidSigOn, isWeaponBlockedAt, isWeaponBlockedByTowing, isWeaponOrderChanged, isWeaponValidForPhase, itemOppositeTech, joinLocationAbbr, load, load, load, load, loadAllWeapons, loadDefaultCustomWeaponOrder, loadedUnitsHaveActiveECM, loadQuirks, loadWeapon, loadWeapon, loadWeaponWithSameAmmo, loadWeaponWithSameAmmo, locationHasCase, locationIsLeg, madePointblankShot, maxGroundObjectTonnage, modifyPhysicalDamageForMeleeSpecialist, needsRollToStand, newPhase, newRoundNovaNetSwitch, nextConversionMode, onSameC3NetworkAs, onSameC3NetworkAs, passedOver, passedThrough, passedThroughPrevious, passedWithin, performManualShutdown, performManualStartup, pickUp, pickupGroundObject, postProcessFacingChange, recalculateTechAdvancement, recover, refreshLocations, relHeight, reloadEmptyWeapons, removeAllINarcPods, removeAllTransporters, removeCriticalSlots, removeFiringSolution, removeINarcPod, removeMisc, removePartialCoverHits, removeSensorContact, removeTowedUnit, removeTransporter, resetBayDoors, resetBays, resetBombAttacks, resetCoolantFailureAmount, resetFiringArcs, resetTransporter, restore, rollMovementInBuilding, scmCritStateCount, setAlreadyTwisted, setAltitude, setArcFired, setArmor, setArmor, setArmor, setArmorTechLevel, setArmorTechLevel, setArmorTechRating, setArmorTechRating, setArmorTonnage, setArmorType, setArmorType, setArmorType, setArmsFlipped, setArmsFlipped, setASEWAffected, setAssaultDropInProgress, setBARRating, setBARRating, setBaseChassisFireConWeight, setBATaserShutdown, setBloodStalkerTarget, setBoardId, setBoobyTrapInitiated, setBraceLocation, setC3iNextUUIDAsString, setC3Master, setC3Master, setC3MasterIsUUIDAsString, setC3NetId, setC3NetId, setC3NetIdSelf, setC3UUID, setC3UUIDAsString, setCamouflage, setCanon, setCanUnstickByJumping, setCaptured, setCarcass, setCarefulStand, setCarriedObjects, setChassis, setClanChassisName, setClearingMinefield, setClimbMode, setCommander, setConsecutiveRHSUses, setConversionMode, setConvertingNow, setCrew, setCritical, setCustomWeaponOrder, setCustomWeaponOrder, setDeployed, setDeployRound, setDesignValid, setDetectedByEnemy, setDisplacementAttack, setDisplayName, setDone, setDoomed, setDuplicateMarker, setElevation, setEMI, setEngineTechRating, setEngineTechRating, setEvading, setEverSeenByEnemy, setExternalId, setExternalIdAsString, setExternalSearchlight, setFacing, setFallen, setFindingClub, setFiredTsempThisTurn, setFleeZone, setForceId, setForceString, setGame, setGameOptions, setGrappled, setGrappledThisRound, setGrappleSide, setHardenedArmorDamaged, setHasDamagedRHS, setHasFiredTsemp, setHidden, setHiddenActivationPhase, setHullDown, setIcon, setId, setIGame, setIlluminated, setImpLastTurn, setInitialBV, setInternal, setInternal, setInvalidSourceBuildReasons, setIsJumpingNow, setJumpingWithMechanicalBoosters, setLandedAssaultDrop, setLastTarget, setLastTargetDisplayName, setLayingMines, setLoadedKeepers, setLoadedThisTurn, setLocationBlownOff, setLocationBlownOffThisPhase, setLocationStatus, setLocationStatus, setMadePointblankShot, setManualBV, setManualShutdown, setMASCUsed, setMixedTech, setModel, setMovedBackwards, setMovementMode, setMulId, setNC3NextUUIDAsString, setNCrew, setNeverDeployed, setNewRoundNovaNetworkString, setNextSensor, setNMarines, setNPassenger, setOffBoard, setOriginalBuildYear, setOriginalJumpMP, setOwner, setOwnerId, setPassedThrough, setPassedThroughBoardId, setPassedThroughFacing, setPlayerPickedPassThrough, setPosition, setPosition, setPowerReverse, setProne, setQuirks, setRamming, setRapidFire, setReckless, setRecoveryTurn, setRemovalCondition, setRetreatedDirection, setSalvage, setSearchlightState, setSecondaryFacing, setSecondaryFacing, setSelfDestructedThisTurn, setSelfDestructing, setSelfDestructInitiated, setShutDown, setShutDownThisPhase, setSource, setSpotTargetId, setSpotting, setStartingAnyNWx, setStartingAnyNWy, setStartingAnySEx, setStartingAnySEy, setStartingOffset, setStartingPos, setStartingWidth, setStartupThisPhase, setStruck, setStructuralTechRating, setStructuralTechRating, setStructureTechLevel, setStructureType, setStructureType, setStuck, setSuperchargerUsed, setSwarmAttackerId, setSwarmTargetId, setTaggedBy, setTargetBay, setTaserFeedback, setTaserInterference, setTaserShutdownRounds, setTechLevel, setTowedBy, setTowing, setTractor, setTraitorId, setTransportId, setTsempEffect, setTurnInterrupted, setUnitNumber, setUnitRole, setUnjammingRAC, setUnloaded, setUsedSearchlight, setUseManualBV, setVectors, setVisibleToEnemy, setWeaponHit, setWeaponOrderChanged, setWeaponSortOrder, setWhoCanDetect, setWhoCanSee, setWigeLiftoffHover, setYear, shouldDeploy, shouldOffBoardDeploy, shouldUseEdge, sideTable, sideTable, sideTable, sideTable, sideTableRam, slotNumber, specificName, statusToString, statusToString, statusToString, taserShutdown, toggleConversionMode, toString, towUnit, turnWasInterrupted, unload, updateBays, updateDuplicateMarkerAfterDelete, usedSearchlight, usedTag, usesTurnMode, usesWeaponBays, wasLoadedThisTurn, wasNeverDeployed, wasStruck, weaponFired, weaponFiredFrom, whichBay, wigeLiftoffHover
Methods inherited from class megamek.common.turns.TurnOrdered
clearInitiative, generateTurnOrder, getAeroTurns, getDropshipTurns, getEvenTurns, getInitCompensationBonus, getInitiative, getJumpshipTurns, getMultiTurns, getNormalTurns, getOtherTurns, getSmallCraftTurns, getSpaceStationTurns, getTeleMissileTurns, getWarshipTurns, incrementAeroTurns, incrementDropshipTurns, incrementEvenTurns, incrementJumpshipTurns, incrementMultiTurns, incrementOtherTurns, incrementSmallCraftTurns, incrementSpaceStationTurns, incrementTeleMissileTurns, incrementWarshipTurns, resetAeroTurns, resetDropshipTurns, resetEvenTurns, resetInitiativeCompensation, resetJumpshipTurns, resetMultiTurns, resetOtherTurns, resetSmallCraftTurns, resetSpaceStationTurns, resetTeleMissileTurns, resetWarshipTurns, rollInitAndResolveTies, rollInitAndResolveTies, rollInitiative, rollInitiative, setInitCompensationBonus, setInitiative
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface megamek.common.units.BTObject
hasAerodyneSpheroidDistinction, isAerodyne, isAerospace, isAerospaceSV, isBattleArmor, isBattleMek, isCarryableObject, isCombatVehicle, isConventionalFighter, isConventionalInfantry, isDropShip, isFixedWingSupport, isGround, isHandheldWeapon, isIndustrialMek, isInfantry, isJumpShip, isLargeAerospace, isMek, isObjectiveMarker, isProtoMek, isQuadMek, isSingleUnit, isSmallCraft, isSpaceStation, isSupportVehicle, isTripodMek, isUnitGroup, isVehicle, isWarShip
Methods inherited from interface megamek.common.interfaces.CombatRole
hasRole
Methods inherited from interface megamek.common.interfaces.ForceAssignable
partOfForce
Methods inherited from interface megamek.common.units.IAero
canLandHorizontally, canLandVertically, canTakeOffHorizontally, canTakeOffVertically, checkDown, checkHover, checkManeuver, checkRolls, checkStall, checkThrustSI, checkThrustSITotal, checkVelocityDouble, checkVerticalTakeOff, getAltitude, getFuelUsed, getLandingControlRoll, getLandingControlRoll, getLandingCoords, getLandingLength, getTakeOffLength, hasRoomForHorizontalLanding, hasRoomForHorizontalLanding, hasRoomForHorizontalTakeOff, hasRoomForLanding, hasRoomForLanding, hasRoomForVerticalLanding, hasRoomForVerticalLanding, isAirborne, isSpaceborne, land, liftOff, requiresFuel, rollArcs, taxingAeroProhibitedTerrains, updateWeaponGroups, useFuel
Methods inherited from interface megamek.common.units.IBomber
applyBombs, clearBombs, getBombChoices, getBombPoints, getBombPoints, getBombs, getExternalBombPoints, getInternalBombsDamageTotal, getMaxExtBombSize, getMaxIntBombSize, getVTOLBombTarget, isVTOLBombing, setBombChoices, setVTOLBombTarget
Methods inherited from interface megamek.common.game.InGameObject
hasOwner
Methods inherited from interface megamek.common.interfaces.ITechnology
calcEraAvailability, calcEraAvailability, calcYearAvailability, calcYearAvailability, calcYearAvailability, findMinimumRulesLevel, findMinimumRulesLevel, getAdvancedRange, getAdvancedRange, getCodeFromIOAbbr, getCodeFromMMAbbr, getCommonDate, getEraAvailabilityName, getEraAvailabilityName, getExperimentalRange, getExperimentalRange, getExtinctionDate, getExtinctionRange, getFullRatingName, getFullRatingName, getIntroductionDate, getProductionDate, getPrototypeDate, getReintroductionDate, getSimpleLevel, getSimpleLevel, getSimpleLevel, getStandardRange, getStandardRange, getTechLevel, getTechLevel, getTechRatingName, isAvailableIn, isAvailableIn, isAvailableIn, isExtinct, isExtinct, isExtinct, isLegal, isLegal
Methods inherited from interface megamek.common.units.Targetable
getBoardLocation, isHexBeingBombed, isOnBoard
Methods inherited from interface megamek.common.equipment.Transporter
canTow, getNameForRecordSheets, getNumberLoadedThisTurn, getNumberUnloadedThisTurn, getType, hardpointCost
-
Constructor Details
-
AeroSpaceFighter
public AeroSpaceFighter()
-
-
Method Details
-
getUnitType
public int getUnitType()- Overrides:
getUnitType
in classAero
- See Also:
-
autoSetMaxBombPoints
public void autoSetMaxBombPoints()Description copied from class:Aero
Recalculates the internal and external hardpoints that this aero unit has. TM p.217, TW p.245- Overrides:
autoSetMaxBombPoints
in classAero
-
reduceMPByBombLoad
public int reduceMPByBombLoad(int t) - Specified by:
reduceMPByBombLoad
in interfaceIBomber
- Overrides:
reduceMPByBombLoad
in classAero
- Returns:
- The calculates movement factoring in the load of bombs currently on unit, t is current movement
-
isSpheroid
public boolean isSpheroid()Description copied from interface:BTObject
Returns true when this object has the distinction between aerodyne and spheroid, i.e. if it is a DropShip or SmallCraft, and it is spheroid, false for any other type of object. Returns false for any type of unit group and for any unit that does not have the distinction.- Specified by:
isSpheroid
in interfaceBTObject
- Specified by:
isSpheroid
in interfaceIAero
- Overrides:
isSpheroid
in classAero
- Returns:
- True when this is object is spheroid
-
isBomber
public boolean isBomber()Description copied from class:Aero
Fighters may carry external ordnance; Other Aerospace units with cargo bays and the Internal Bomb Bay quirk may carry bombs internally.- Specified by:
isBomber
in interfaceTargetable
- Overrides:
isBomber
in classAero
- Returns:
- boolean
-
isFighter
public boolean isFighter()Description copied from interface:BTObject
Returns true when this object is a fighter (aerospace or conventional) including Fixed-Wing Support or of type CF/AF/SV(MV a) for Alpha Strike. Returns false for any type of unit group even if it is of the right type.- Returns:
- True when this is a fighter including fixed-wing support
-
isAerospaceFighter
public boolean isAerospaceFighter()Description copied from interface:BTObject
Returns true when this object is an aerospace fighter (not conventional, nor Fixed-Wing Support) or of type AF for Alpha Strike. Returns false for any type of unit group even if it is of the right type.- Returns:
- True when this is an aerospace fighter
-
damageLocation
public void damageLocation(int loc) Method to enable mass location damaging, mainly for Fighter Squadrons- Parameters:
loc
- that every fighter in the squadron needs to damage, for MekHQ tracking
-
getEntityType
public long getEntityType()- Overrides:
getEntityType
in classAero
-
getGenericBattleValue
public int getGenericBattleValue()Description copied from class:Entity
Calculates a "generic" Battle Value that is based on the average of all units of this type and tonnage. The purpose of this generic Battle Value is to allow a comparison of this unit's actual BV to that for units of its class. This can be used to balance forces without respect to unit or pilot quality.The generic BV values are calculated by a statistical elasticity model based on all data from the MegaMek database.
- Specified by:
getGenericBattleValue
in classEntity
- Returns:
- The generic Battle value for this unit based on its tonnage and type
-
setOriginalWalkMP
public void setOriginalWalkMP(int walkMP) Description copied from class:Entity
Sets this entity's original walking movement points- Overrides:
setOriginalWalkMP
in classEntity
-
setWeight
public void setWeight(double weight)
-